mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch 'ent.3698-Conteo-de-notificaciones-un-poco-raro' into 'develop'
Fixed messages count See merge request artica/pandorafms!2260
This commit is contained in:
commit
8ef22373a7
@ -383,7 +383,7 @@ function messages_get_count(
|
|||||||
}
|
}
|
||||||
|
|
||||||
$sql = sprintf(
|
$sql = sprintf(
|
||||||
'SELECT count(*) as "n" FROM (
|
'SELECT count(distinct id_mensaje) as "n" FROM (
|
||||||
SELECT
|
SELECT
|
||||||
tm.*,
|
tm.*,
|
||||||
utimestamp_read > 0 as "read"
|
utimestamp_read > 0 as "read"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user