Bunzo, go to sleep 8-)
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 25 Oct 2001 07:46:43 +0000 (07:46 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 25 Oct 2001 07:46:43 +0000 (07:46 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1607 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/move_messages.php

index f4080b4..0670772 100644 (file)
@@ -89,7 +89,7 @@
             if (isset($msg[$i])) {
                if (isset($markRead)) {
                   sqimap_messages_flag($imapConnection, $msg[$i], $msg[$i], "Seen");
             if (isset($msg[$i])) {
                if (isset($markRead)) {
                   sqimap_messages_flag($imapConnection, $msg[$i], $msg[$i], "Seen");
-               } else if (isset($markRead)) {
+               } else if (isset($markUnread)) {
                    sqimap_messages_remove_flag($imapConnection, $msg[$i], $msg[$i], "Seen");
                } else {
                   sqimap_messages_delete($imapConnection, $msg[$i], $msg[$i], $mailbox);
                    sqimap_messages_remove_flag($imapConnection, $msg[$i], $msg[$i], "Seen");
                } else {
                   sqimap_messages_delete($imapConnection, $msg[$i], $msg[$i], $mailbox);