fixed: New Mail macro never returns any messages
This commit is contained in:
parent
e880168a85
commit
a4b05556f6
2 changed files with 2 additions and 1 deletions
|
|
@ -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.)
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue