Przeglądaj źródła

This should work too (even better)

stekkel 22 lat temu
rodzic
commit
a77908c7ea
1 zmienionych plików z 2 dodań i 2 usunięć
  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;
         }