1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 12:21:45 +02:00

Fixes #547 - PM plugin issuse (outbox messages not rendering, outbox count, and outbox date)

This commit is contained in:
Moc
2014-05-18 16:37:11 +02:00
parent bfec4b1a41
commit b6da517bd5
3 changed files with 3 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ class pmbox_manager
}
else
{
$qry = "SELECT count(pm.pm_from) AS total, SUM(pm.pm_size)/1024 size, SUM(pm.pm_read = 0) as unread FROM `#private_msg` as pm WHERE pm.pm_from = ".USERID." AND pm.pm_sent_del = 0";
$qry = "SELECT count(pm.pm_from) AS total, SUM(pm.pm_size)/1024 size, SUM(pm.pm_read = 0) as unread FROM `#private_msg` as pm WHERE pm.pm_from = ".USERID." AND pm.pm_read_del = 0";
}
if(!isset($pm_info[$which]['total']))