Explorar o código

Fixed flaw in logic

Tyler Akins %!s(int64=24) %!d(string=hai) anos
pai
achega
47a68ff31e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      functions/mime.php

+ 1 - 1
functions/mime.php

@@ -553,7 +553,7 @@
    
          // If there are other types that shouldn't be formatted, add
          // them here 
-         if ($body_message->header->type1 != "html" && $show_html_default) {
+         if ($body_message->header->type1 != "html" || ! $show_html_default) {
             translateText($body, $wrap_at, $body_message->header->charset);
          }