The purge link should be based on MessageCount, not UnreadCount
authorindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 3 Mar 2006 23:07:00 +0000 (23:07 +0000)
committerindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 3 Mar 2006 23:07:00 +0000 (23:07 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10854 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/left_main.tpl

index d2c1ae8d8fa1487546a93c21b96658e434feab52..6b04911b51f24f4fe2681e6910c5069c79765384 100644 (file)
@@ -188,7 +188,7 @@ function buildMailboxTree ($box, $settings, $indent_factor=0) {
         $end .= '</a>';
 
         // Print unread info
-        if ($box['UnreadCount'] > 0) {
+        if ($box['MessageCount'] > 0) {
             if (!empty($unseen_str)) {
                 $end .= '&nbsp;<small>('.$unseen_str.')</small>';
             }