stekkel 22 years ago
parent
commit
fd75b326e8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      functions/mime.php

+ 2 - 2
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;
         }