diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc index 116332a64..bfafb411d 100644 --- a/program/steps/mail/move_del.inc +++ b/program/steps/mail/move_del.inc @@ -62,7 +62,8 @@ else // update message count display $pages = ceil($IMAP->messagecount()/$IMAP->page_size); -$commands = sprintf("this.set_rowcount('%s');\n", rcmail_get_messagecount_text()); +$commands = "this.message_list.init();\n"; +$commands .= sprintf("this.set_rowcount('%s');\n", rcmail_get_messagecount_text()); $commands .= sprintf("this.set_env('pagecount', %d);\n", $pages);