Prechádzať zdrojové kódy

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.

tassium 22 rokov pred
rodič
commit
5414e1f492
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      functions/imap_messages.php

+ 1 - 1
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);
 }