From f6382d6b141b4d79fd98661aea6aafb1b10f2850 Mon Sep 17 00:00:00 2001 From: stekkel Date: Mon, 21 Nov 2005 19:34:15 +0000 Subject: [PATCH] fix from Michael Long for imap servers that do not return the UID in the fetch response returned by doing a UID STORE. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10386 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_messages.php | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/functions/imap_messages.php b/functions/imap_messages.php index 6d847aaf..7e63ddc8 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -89,9 +89,27 @@ function sqimap_msgs_list_delete($imap_stream, $mailbox, $id, $bypass_trash=fals function sqimap_toggle_flag($imap_stream, $id, $flag, $set, $handle_errors) { $msgs_id = sqimap_message_list_squisher($id); $set_string = ($set ? '+' : '-'); + + // mpl-spirit + for ($i=0; $i