From 4821378d4ac8cc91f0b317a44d525855aa4d2175 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Thu, 14 Jan 2016 12:54:17 +0100 Subject: [PATCH] Fixed problem when searches strange modules in tree (group tree). Ticket #3204 --- pandora_console/include/class/Tree.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/class/Tree.class.php b/pandora_console/include/class/Tree.class.php index 11a68869fb..506fbe53b6 100644 --- a/pandora_console/include/class/Tree.class.php +++ b/pandora_console/include/class/Tree.class.php @@ -368,7 +368,7 @@ class Tree { else { $agent_table = "SELECT COUNT(DISTINCT(ta.id_agente)) FROM tagente ta - LEFT JOIN tagente_modulo tam + INNER JOIN tagente_modulo tam ON tam.disabled = 0 AND ta.id_agente = tam.id_agente $module_search_filter