From: stekkel Date: Tue, 17 Jun 2003 21:22:57 +0000 (+0000) Subject: check for empty string before we add it to the token array X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=72956ab629870bd52ca835ca6b3b34fdf0e8ffb6;p=squirrelmail.git check for empty string before we add it to the token array git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5074 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/class/mime/Rfc822Header.class.php b/class/mime/Rfc822Header.class.php index 0855604d..eedcc367 100644 --- a/class/mime/Rfc822Header.class.php +++ b/class/mime/Rfc822Header.class.php @@ -243,7 +243,7 @@ class Rfc822Header { $i = $iEnd; } $sToken = str_replace($aReplace, $aSpecials,$sToken); - $aTokens[] = $sToken; + if ($sToken) $aTokens[] = $sToken; break; case '(': $iEnd = strpos($address,')',$i);