This should work too (even better)
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 19 Aug 2003 21:45:13 +0000 (21:45 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 19 Aug 2003 21:45:13 +0000 (21:45 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5529 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index 5491e91d2de2c1ed10664df33debcc233205a5a3..3322249a7423b964d1da6aaf3073ede298e0cb0f 100644 (file)
@@ -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;
         }