From: stekkel Date: Tue, 17 Jun 2003 21:21:57 +0000 (+0000) Subject: because we remove the quotes an empty string could be left => check if the X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=76c3ee28b0ffced3b77d358539b1592fd1c43f06;p=squirrelmail.git because we remove the quotes an empty string could be left => check if the string is empty before we add it to the token array git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5073 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/imap_general.php b/functions/imap_general.php index e3493e34..dbc42968 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -621,7 +621,7 @@ function parseAddress($address, $max=0) { $i = $iEnd; } $sToken = str_replace($aReplace, $aSpecials,$sToken); - $aTokens[] = $sToken; + if ($sToken) $aTokens[] = $sToken; break; case '(': $iEnd = strpos($address,')',$i);