From 76c3ee28b0ffced3b77d358539b1592fd1c43f06 Mon Sep 17 00:00:00 2001 From: stekkel Date: Tue, 17 Jun 2003 21:21:57 +0000 Subject: [PATCH] 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 --- functions/imap_general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1