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