2012-06-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/agent.php: Fixed function search_agent when metaconsole is activated an one of the nodes return no agents. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
60e2b22c2b
commit
8747f5c2b3
|
@ -1,3 +1,8 @@
|
|||
2012-06-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* include/ajax/agent.php: Fixed function search_agent when
|
||||
metaconsole is activated an one of the nodes return no agents.
|
||||
|
||||
2012-06-04 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* godmode/alerts/alert_list.list.php: Fixed bug:
|
||||
|
|
|
@ -125,7 +125,7 @@ elseif ($search_agents && ($config['metaconsole'] == 1)) {
|
|||
|
||||
$agents = agents_get_agents ($filter, array ('id_agente','nombre', 'direccion'));
|
||||
if ($agents === false)
|
||||
return;
|
||||
continue;
|
||||
foreach ($agents as $agent) {
|
||||
echo io_safe_output($agent['nombre']) . " (" . io_safe_output($server['server_name']) . ") " . "|" . io_safe_output($agent['id_agente']) . "|" . io_safe_output($server['server_name']) . "|" . io_safe_output($agent['direccion']) . "|". "\n";
|
||||
}
|
||||
|
@ -225,7 +225,7 @@ elseif ($search_agents_2 && ($config['metaconsole'] == 1)) {
|
|||
|
||||
$agents = agents_get_agents ($filter, array ('id_agente','nombre', 'direccion'));
|
||||
if ($agents === false)
|
||||
$agents = array();
|
||||
continue;
|
||||
|
||||
$data = array();
|
||||
foreach ($agents as $agent) {
|
||||
|
|
Loading…
Reference in New Issue