fixed: New Mail macro never returns any messages

This commit is contained in:
Graham Knop 2009-03-12 19:15:38 +00:00
parent e880168a85
commit a4b05556f6
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
7.7.0
- fixed: New Mail macro never returns any messages
- fixed: Template parser cannot be set
- fixed #9836: Matrix: Group to Add Listings is missing
- fixed #9924: WebGUI::Shop::Cart::readyForCheckout fails randomly (Henry Tang, Long Term Results B.v.)

View file

@ -53,7 +53,7 @@ sub process {
my $db = $session->db;
my $i18n = WebGUI::International->new($session);
my ($count) = $db->quickArray("select count(*) from inbox where userId=? and status='unread'",[$session->user->userId]);
my $count = WebGUI::Inbox->new($session)->getUnreadMessageCount;
my $output = "";
if($count > 0) {