From: tassium Date: Mon, 2 Dec 2002 21:36:56 +0000 (+0000) Subject: sqimap_msgs_list_delete was calling sqimap_run_command using a variable ($handle_erro... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=43342123ebe8499366f7e5ae25ebd7a9cdb65ff9;p=squirrelmail.git sqimap_msgs_list_delete was calling sqimap_run_command using a variable ($handle_errors) which was not set. The call above it (also to sqimap_run_command) did not use $handle_errors, so I changed the bad call to match the other call. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4207 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/imap_messages.php b/functions/imap_messages.php index 29cc0eeb..d4d754d9 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -43,7 +43,7 @@ function sqimap_msgs_list_delete ($imap_stream, $mailbox, $id) { if (($move_to_trash == true) && (sqimap_mailbox_exists($imap_stream, $trash_folder) && ($mailbox != $trash_folder))) { $read = sqimap_run_command ($imap_stream, "COPY $msgs_id \"$trash_folder\"", true, $response, $message, $uid_support); } - $read = sqimap_run_command ($imap_stream, "STORE $msgs_id +FLAGS (\\Deleted)", $handle_errors, $response, $message, $uid_support); + $read = sqimap_run_command ($imap_stream, "STORE $msgs_id +FLAGS (\\Deleted)", true, $response, $message, $uid_support); }