From c6cf4ab9ee64726f0f77498577cf09894414e250 Mon Sep 17 00:00:00 2001 From: alejandro-campos Date: Wed, 11 Nov 2020 16:25:58 +0100 Subject: [PATCH] fixed query --- pandora_console/include/lib/Dashboard/Manager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/lib/Dashboard/Manager.php b/pandora_console/include/lib/Dashboard/Manager.php index 07e253a2d8..eebfc3233c 100644 --- a/pandora_console/include/lib/Dashboard/Manager.php +++ b/pandora_console/include/lib/Dashboard/Manager.php @@ -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,