Selaa lähdekoodia

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

alex-brainstorm 22 vuotta sitten
vanhempi
commit
9841a30f26
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 = '';