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…
Reference in New Issue