Fixed loop and message numbers

This commit is contained in:
Karl Cordes 2010-04-27 15:45:18 +10:00
parent 65489b8684
commit 9c061d50d0

View file

@ -133,7 +133,7 @@ class VaultShell extends Shell {
//$stored_msgs[] = imap_uid($mbox,$i); //$stored_msgs[] = imap_uid($mbox,$i);
if($testing == 0) { if($testing == 0) {
imap_mail_move($mbox, $no, 'INBOX/Stored'); imap_mail_move($mbox, $i, 'INBOX/Stored');
} }
@ -154,7 +154,7 @@ class VaultShell extends Shell {
if($testing == 0 ) { if($testing == 0 ) {
imap_mail_move($mbox, $no, 'INBOX/Discard'); imap_mail_move($mbox, $i, 'INBOX/Discard');
} }
} }