X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fstrings.php;h=8903155f73f68e98e331b9d8d2b5e1a64b5e3b79;hp=ed1224e6d43f6642b61049651d49c94ec29d6574;hb=c5edd369fee64e51d97aa7d35751edaac083864f;hpb=4faa6b178298b2572427295e617b66f6826064c1 diff --git a/functions/strings.php b/functions/strings.php index ed1224e6..8903155f 100644 --- a/functions/strings.php +++ b/functions/strings.php @@ -120,7 +120,7 @@ /* Be cautious of "user@host.com" */ function parseAddrs($text) { if (trim($text) == "") - return; + return array(); $text = str_replace(" ", "", $text); $text = ereg_replace('"[^"]*"', "", $text); $text = ereg_replace("\([^\)]*\)", "", $text);