Fixed the agents retrieving on the metaconsole

This commit is contained in:
Alejandro Gallardo Escobar 2015-01-19 15:08:45 +01:00
parent 286ecd3a20
commit 32a4c53e4a
1 changed files with 1 additions and 1 deletions

View File

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