Only move index if we performed a delete action
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 4 May 2010 09:29:21 +0000 (03:29 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 4 May 2010 09:29:21 +0000 (03:29 -0600)
imp/message-mimp.php

index 7b213ab..02a83b8 100644 (file)
@@ -78,7 +78,7 @@ case 'ri':
 // Need to build message information, so don't do action until below.
 }
 
-if ($imp_ui->moveAfterAction()) {
+if ($msg_delete && $imp_ui->moveAfterAction()) {
     $imp_mailbox->setIndex(1);
 }