summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index d3cfadeff..70f04701c 100644
--- a/index.php
+++ b/index.php
@@ -265,6 +265,9 @@ if ($_task=='mail')
// kill compose entry from session
if (isset($_SESSION['compose']))
rcmail_compose_cleanup();
+
+ // make sure the message count is refreshed
+ $IMAP->messagecount($_SESSION['mbox'], 'ALL', TRUE);
}