From fa9b646f78e3eb7204718fcff06c11cb059fb6b0 Mon Sep 17 00:00:00 2001 From: fidian Date: Wed, 11 Apr 2001 13:09:24 +0000 Subject: [PATCH] * Removed another warning that shouldn't ever pop up, but it did with a poorly formatted bounce message I just got. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1220 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_messages.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/imap_messages.php b/functions/imap_messages.php index 4b23cf33..123b4e56 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -97,6 +97,8 @@ if ($pos = strpos($type, ";")) $type = substr($type, 0, $pos); $type = explode("/", $type); + if (! isset($type[1])) + $type[1] = ''; } } -- 2.25.1