summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index c9d2454b1..ca862807f 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -880,7 +880,7 @@ class rcube_imap
$old_maxuid = intval($_SESSION['maxuid'][$mailbox]);
// refresh message count -> will update $_SESSION['maxuid'][$mailbox]
- $this->messagecount($mbox_name, 'ALL', true);
+ $this->_messagecount($mailbox, 'ALL', true);
if ($_SESSION['maxuid'][$mailbox] > $old_maxuid) {
$maxuid = max(1, $old_maxuid+1);