From 4c5da285562864b26e948ea16b97cd62f7a719a1 Mon Sep 17 00:00:00 2001 From: fidian Date: Wed, 17 Jan 2001 22:31:42 +0000 Subject: [PATCH] Temporary fix for problem when reading a message and you get some weird error message. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@960 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/mime.php b/functions/mime.php index 668934cc..6c4df0f7 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -361,8 +361,8 @@ // that it is the first one. That is usually the case anyway. if (!$ent_id) $ent_id = 1; - fputs ($imap_stream, "a001 FETCH $id BODY[$ent_id]\r\n"); - $data = sqimap_read_data ($imap_stream, 'a001', true, $response, $message); + fputs ($imap_stream, "a010 FETCH $id BODY[$ent_id]\r\n"); + $data = sqimap_read_data ($imap_stream, 'a010', true, $response, $message); $topline = array_shift($data); while (! ereg('\* [0-9]+ FETCH ', $topline) && data) $topline = array_shift($data); -- 2.25.1