Browse Source

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

alex-brainstorm 22 years ago
parent
commit
9841a30f26
1 changed files with 1 additions and 1 deletions
  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 = '';