fixed query

This commit is contained in:
alejandro-campos 2020-11-11 16:25:58 +01:00
parent 33fbdd1819
commit c6cf4ab9ee
1 changed files with 2 additions and 2 deletions

View File

@ -702,8 +702,8 @@ class Manager
FROM tdashboard td
LEFT JOIN twidget_dashboard twd
ON td.id = twd.id_dashboard
WHERE (td.id_group IN (%s) AND td.id_user = '') OR
td.id_user = '%s' %s
WHERE ((td.id_group IN (%s) AND td.id_user = '') OR
td.id_user = '%s') %s
GROUP BY td.id
ORDER BY name%s",
$string_groups,