diff --git a/pandora_console/include/ajax/events.php b/pandora_console/include/ajax/events.php index 37699de9b1..11811eda38 100644 --- a/pandora_console/include/ajax/events.php +++ b/pandora_console/include/ajax/events.php @@ -1801,7 +1801,7 @@ if ($get_list_events_agents) { $date_to = get_parameter('date_to'); $time_to = get_parameter('time_to', '23:59:59'); $id_user = $config['id_user']; - hd('hollllaa', true); + $returned_sql = events_sql_events_grouped_agents( $id_agent, $server_id, diff --git a/pandora_console/include/class/NetworkMap.class.php b/pandora_console/include/class/NetworkMap.class.php index daa4cb9717..1fc9801b1b 100644 --- a/pandora_console/include/class/NetworkMap.class.php +++ b/pandora_console/include/class/NetworkMap.class.php @@ -2855,7 +2855,7 @@ class NetworkMap public function loadAdvancedInterface() { $list_networkmaps = get_networkmaps($this->idMap); - hd($list_networkmaps); + if (empty($list_networkmaps) === true) { $list_networkmaps = []; } diff --git a/pandora_console/operation/agentes/pandora_networkmap.php b/pandora_console/operation/agentes/pandora_networkmap.php index 4756f5bdbb..c6b5ea71b9 100644 --- a/pandora_console/operation/agentes/pandora_networkmap.php +++ b/pandora_console/operation/agentes/pandora_networkmap.php @@ -83,7 +83,6 @@ if ($save_empty_networkmap === true) { return; } - hd('papapapa'); $name = (string) get_parameter('name', ''); // Default size values.