From: kink Date: Fri, 29 Sep 2006 08:53:51 +0000 (+0000) Subject: prevent notice on non-html attachment viewing X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=ac589f55403198b60460b8c1dbf09d27a072d3ec prevent notice on non-html attachment viewing git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11763 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/view_text.php b/src/view_text.php index b032b11a..948420e0 100644 --- a/src/view_text.php +++ b/src/view_text.php @@ -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); }