浏览代码

Fixed flaw in logic

Tyler Akins 24 年之前
父节点
当前提交
47a68ff31e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
          }