Fixed flaw in logic
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 12 Sep 2001 23:04:33 +0000 (23:04 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 12 Sep 2001 23:04:33 +0000 (23:04 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1501 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index 61952677dd0d3210369587b6768ad94212b9ce96..345e0524735af21538f714a0bad936cd6135cb5f 100644 (file)
    
          // 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);
          }