X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=class%2Fmime.class.php;h=e8c916100a2c5852e34141fa188ee7bd0c60b6a7;hp=f18b90266c64c56c7d54a003446de606e882c6c1;hb=a2c6e4e77758fc9fcfb96d0763842388457cd892;hpb=be267d4d63a4d85fb4430a3bfae9fa9e244c42a4 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); }