From 3e1266efa28fa69f07653f83464482b49688b2a4 Mon Sep 17 00:00:00 2001 From: pallo Date: Fri, 15 Sep 2000 08:16:18 +0000 Subject: [PATCH] Fixed error in MIME structure parsing when response from IMAP server was more than one line. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@745 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/mime.php b/functions/mime.php index 29ad2265..f56f54d8 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -61,7 +61,7 @@ $read = fgets ($imap_stream, 10000); $response = substr($read, 0, 4); while ($response != "a001") { - $bodystructure = $read; + $bodystructure .= $read; $read = fgets ($imap_stream, 10000); $response = substr($read, 0, 4); } -- 2.25.1