From 32a4c53e4a6ec62c830517409b1008c87e00645f Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Mon, 19 Jan 2015 15:08:45 +0100 Subject: [PATCH] Fixed the agents retrieving on the metaconsole --- 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 3aae2c3a07..9a965e09ad 100644 --- a/pandora_console/include/class/Tree.class.php +++ b/pandora_console/include/class/Tree.class.php @@ -1506,7 +1506,7 @@ class Tree { if (metaconsole_connect($server) != NOERR) continue; - $agents += $this->tree = $this->getAgents($tag_id, $this->type); + $agents += $this->tree = $this->getAgents($tag_id, $this->type, $server_id); metaconsole_restore_db(); }