From 358a78a1aef871123cabcc980cfee1cb317da6c0 Mon Sep 17 00:00:00 2001 From: stekkel Date: Tue, 19 Aug 2003 21:45:13 +0000 Subject: [PATCH] This should work too (even better) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5529 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 5491e91d..3322249a 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