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(
|
||||
'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