Update message copy and move functions to allow for custom handling / ignoring of...
[squirrelmail.git] / plugins / filters / filters.php
index 51823f0d7e262fb2bce788d30113391971ac159d..8f94a7190261bce5ea88f5c90a2a8c774ba2ff6b 100644 (file)
@@ -323,7 +323,7 @@ function filter_search_and_delete($imap_stream, $where, $what, $where_to, $user_
         if ($response == 'OK' && count($ids)) {
             if (sqimap_mailbox_exists($imap_stream, $where_to)) {
                  $should_expunge = true;
-                 sqimap_msgs_list_move ($imap_stream, $ids, $where_to);
+                 sqimap_msgs_list_move ($imap_stream, $ids, $where_to, false);
             }
         }
     }