stekkel 22 年 前
コミット
fd75b326e8
1 ファイル変更2 行追加2 行削除
  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;
         }