prevent notice on non-html attachment viewing
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 29 Sep 2006 08:53:51 +0000 (08:53 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 29 Sep 2006 08:53:51 +0000 (08:53 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11763 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/view_text.php

index b032b11a30fc3173ab843ab2837bcd44acc339f9..948420e016b5ba1728b9c2791c281d66ac10530a 100644 (file)
@@ -72,6 +72,7 @@ if ($type1 == 'html' || (isset($override_type1) &&  $override_type1 == 'html'))
         $body = charset_decode($charset,$body,false,true);
     }
 } else {
+    $ishtml = FALSE;
     translateText($body, $wrap_at, $charset);
 }