projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Spanish
[squirrelmail.git]
/
functions
/
imap_general.php
diff --git
a/functions/imap_general.php
b/functions/imap_general.php
index f6dd55127f5cd3cb59450f1661d50e6cf0c32f84..16f84a278dcce2e186f37d555e813de31713e870 100755
(executable)
--- a/
functions/imap_general.php
+++ b/
functions/imap_general.php
@@
-449,6
+449,9
@@
function parseAddress($address, $max=0, $addr_ar = array(), $group = '', $host='
switch ($char) {
case '=':
if (preg_match('/^(=\?([^?]*)\?(Q|B)\?([^?]*)\?=)(.*)/Ui',substr($address,$pos),$reg)) {
+ if (!$personal) {
+ $personal = substr($address,0,$pos);
+ }
$personal .= $reg[1];
$pos += strlen($personal);
}