瀏覽代碼

Fix spurious semicolon at beginning of html output returned by decodeHeader() when first word of header is encoded. Ouf ;)

alex-brainstorm 22 年之前
父節點
當前提交
9841a30f26
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/mime.php

+ 1 - 1
functions/mime.php

@@ -586,7 +586,7 @@ function decodeHeader ($string, $utfencode=true,$htmlsave=true) {
     }
     $i = 0;
     $iLastMatch = -2;
-    $encoded = false;
+    $encoded = true;
 
     $aString = explode(' ',$string);
     $ret = '';