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(); }