fixed warning
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 5 Sep 2002 12:22:13 +0000 (12:22 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 5 Sep 2002 12:22:13 +0000 (12:22 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3563 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/view_text.php

index 7d57fd729e49cefe0ede2cd3b7595ccd19ff1445..b1ed0c438151b4a1193cab73e8511edb50bec4dd 100644 (file)
@@ -46,7 +46,8 @@
          "</TD></TR></TABLE>".
          "<TABLE WIDTH=\"98%\" BORDER=0 CELLSPACING=0 CELLPADDING=2 ALIGN=CENTER><TR><TD BGCOLOR=\"$color[0]\">".
          "<TR><TD BGCOLOR=\"$color[4]\"><TT>";
-    if ($type1 == 'html' || $override_type1 == 'html') {
+    if ($type1 == 'html' || 
+         (isset($override_type1) &&  $override_type1 == 'html')) {
         $body = MagicHTML( $body, $passed_id, $message, $mailbox);
     } else {
         translateText($body, $wrap_at, $charset);