From a2c6e4e77758fc9fcfb96d0763842388457cd892 Mon Sep 17 00:00:00 2001 From: stekkel Date: Mon, 26 Aug 2002 10:07:22 +0000 Subject: [PATCH] fix for the bodystructure parser git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3462 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- class/mime.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/class/mime.class.php b/class/mime.class.php index f18b9026..e8c91610 100644 --- a/class/mime.class.php +++ b/class/mime.class.php @@ -837,7 +837,6 @@ class message { $msg->type0 = $arg_a[0]; $msg->type1 = $arg_a[1]; - $arr = $arg_a[2]; if (is_array($arr)) { $hdr->parameters = $arg_a[2]; @@ -871,6 +870,7 @@ class message { $hdr->disposition = (isset($arg_a[2]) ? $arg_a[2] : $hdr->disposition); $hdr->language = (isset($arg_a[3]) ? $arg_a[3] : $hdr->language); $msg->header = $hdr; + ++$i; } return (array($msg, $i)); default: break; @@ -905,7 +905,6 @@ class message { } } } - return array($properties, $i); } -- 2.25.1