From: Chuck Hagenbuch Date: Wed, 24 Dec 2008 19:15:17 +0000 (-0500) Subject: merge from CVS HEAD - don't show a negative number of unseen messages X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=95346bee59e26442430468bb3749ca58e88d0d1e;p=horde.git merge from CVS HEAD - don't show a negative number of unseen messages --- diff --git a/imp/lib/Block/newmail.php b/imp/lib/Block/newmail.php index 9c2d166dd..c21a4c889 100644 --- a/imp/lib/Block/newmail.php +++ b/imp/lib/Block/newmail.php @@ -62,7 +62,7 @@ class Horde_Block_imp_newmail extends Horde_Block } $more_msgs = count($ids) - $shown; - $text = $more_msgs + $text = ($more_msgs > 0) ? sprintf(ngettext("%d more unseen message...", "%d more unseen messages...", $more_msgs), $more_msgs) : _("Go to your Inbox..."); $html .= '' . $text . '';