From: lkehresman Date: Thu, 6 Jan 2000 21:58:00 +0000 (+0000) Subject: Fixed a minor MIME bug X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;ds=sidebyside;h=f7835374d25ce9749a22c896694fcd2328475a53;p=squirrelmail.git Fixed a minor MIME bug git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@120 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mime.php b/functions/mime.php index cc00e3c7..6bd52f03 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -11,6 +11,7 @@ function decodeMime($body, $bound, $type0, $type1, &$entities) { if ($type0 == "multipart") { $bound = trim($bound); + $i = 0; while (($i < count($body)) && (substr($body[$i], 0, strlen("--$bound--")) != "--$bound--")) { if (trim($body[$i]) == "--$bound") { $j = $i+1;