fix for addresses containing groups
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 25 Apr 2003 17:35:24 +0000 (17:35 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 25 Apr 2003 17:35:24 +0000 (17:35 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4816 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_general.php

index 1c931f0ffe9d6d66f8f9390a25e1a1813f05246e..16f84a278dcce2e186f37d555e813de31713e870 100755 (executable)
@@ -518,7 +518,7 @@ function parseAddress($address, $max=0, $addr_ar = array(), $group = '', $host='
                 $group = substr($address, 0, $pos);
                 $address = substr($address, $pos+1);
                 $result = parseAddress($address, $max, $addr_ar, $group);
-                $addr_ar = array( $result[0] );
+                $addr_ar = $result[0];
                 $pos = $result[1];
                 $address = substr($address, $pos++);
                 $j = strlen($address);