alecpl
2010-05-06 697298552b75297c996c98e84a0a3093724b43d1
- small fix for current_page setting


1 files modified
2 ■■■ changed files
program/steps/mail/list.inc 2 ●●● patch | view | raw | blame | history
program/steps/mail/list.inc
@@ -78,7 +78,7 @@
$OUTPUT->set_env('messagecount', $count);
$OUTPUT->set_env('pagecount', $pages);
$OUTPUT->set_env('threading', (bool) $IMAP->threading);
$OUTPUT->set_env('current_page', $IMAP->list_page);
$OUTPUT->set_env('current_page', $count ? $IMAP->list_page : 1);
$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count));
$OUTPUT->command('set_mailboxname', rcmail_get_mailbox_name_text());