From 2e64c518df360cb30cc455b3ab1ab7dfe8a6ac81 Mon Sep 17 00:00:00 2001 From: stekkel Date: Tue, 19 Aug 2003 21:35:27 +0000 Subject: [PATCH] fix for bug #784193 git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5526 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/mime.php b/functions/mime.php index 20d476e7..5491e91d 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -592,9 +592,9 @@ function decodeHeader ($string, $utfencode=true,$htmlsave=true) { $aString = explode(' ',$string); $ret = ''; foreach ($aString as $chunk) { - if ($encoded && !$chunk) { + if ($encoded && $chunk === ' ') { continue; - } elseif (!$chunk) { + } elseif ($chunk === ' ') { $ret .= ' '; continue; } -- 2.25.1