From 3d6c7e964247034a8e7c1853d63badc02dcaebdd Mon Sep 17 00:00:00 2001 From: fidian Date: Mon, 26 Mar 2001 13:51:45 +0000 Subject: [PATCH] * Fixed a typo I made * Removed a warning message git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1206 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/mime.php b/functions/mime.php index c9c101e1..8c4404f5 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -489,7 +489,7 @@ // Show text/plain or text/html -- the first one we find. if ($message->header->type0 == 'text' && ($message->header->type1 == 'plain' || - $message->header->type2 == 'html')) + $message->header->type1 == 'html')) { // If the next part is an HTML version, this will // all be true. Show it, if the user so desires. @@ -509,7 +509,7 @@ } else { - for ($i=0; $message->entities[$i]; $i++) + for ($i=0; isset($message->entities[$i]); $i++) { $next = 'none'; if (isset($message->entities[$i + 1])) -- 2.25.1