mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed messages count
Former-commit-id: df7b230fe009e6f73d836cf2290f33deb8a743d9
This commit is contained in:
parent
cb1fc5dc67
commit
aba2ef509a
@ -383,7 +383,7 @@ function messages_get_count(
|
||||
}
|
||||
|
||||
$sql = sprintf(
|
||||
'SELECT count(*) as "n" FROM (
|
||||
'SELECT count(distinct id_mensaje) as "n" FROM (
|
||||
SELECT
|
||||
tm.*,
|
||||
utimestamp_read > 0 as "read"
|
||||
|
Loading…
x
Reference in New Issue
Block a user