From 2160f5bf9dff0c90d71dc90f02e6329dce8c7bdb Mon Sep 17 00:00:00 2001 From: indiri69 Date: Fri, 3 Mar 2006 23:07:00 +0000 Subject: [PATCH] The purge link should be based on MessageCount, not UnreadCount git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10854 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default/left_main.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/default/left_main.tpl b/templates/default/left_main.tpl index d2c1ae8d..6b04911b 100644 --- a/templates/default/left_main.tpl +++ b/templates/default/left_main.tpl @@ -188,7 +188,7 @@ function buildMailboxTree ($box, $settings, $indent_factor=0) { $end .= ''; // Print unread info - if ($box['UnreadCount'] > 0) { + if ($box['MessageCount'] > 0) { if (!empty($unseen_str)) { $end .= ' ('.$unseen_str.')'; } -- 2.25.1