Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
PR #4073
Browse files Browse the repository at this point in the history
Merge branch 'mixkorshun-develop' into develop
  • Loading branch information
Ralph Schindler committed Mar 27, 2013
2 parents ccf8fce + 8e78945 commit 5c8f6fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Mail/Header/Sender.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static function fromString($headerLine)
}

// Check for address, and set if found
if (preg_match('^(?P<name>.*?)<(?P<email>[^>]+)>$', $value, $matches)) {
if (preg_match('/^(?P<name>.*?)<(?P<email>[^>]+)>$/', $value, $matches)) {
$name = $matches['name'];
if (empty($name)) {
$name = null;
Expand Down

0 comments on commit 5c8f6fb

Please sign in to comment.