diff --git a/pandora_console/include/ajax/map.ajax.php b/pandora_console/include/ajax/map.ajax.php index 792eec6a64..2f39609fd0 100644 --- a/pandora_console/include/ajax/map.ajax.php +++ b/pandora_console/include/ajax/map.ajax.php @@ -16,28 +16,28 @@ // Only accesible by ajax if (is_ajax ()) { global $config; - + // Login check check_login (); - + require_once($config['homedir'] . "/include/functions_os.php"); - - + + $getNodeData = (bool)get_parameter('getNodeData', 0); - + if ($getNodeData) { $id_node_data = (int)get_parameter('id_node_data'); $type = (int)get_parameter('type'); $id_map = (int)get_parameter('id_map'); $data_graph_id = (int)get_parameter('data_graph_id'); $node_id = get_parameter('node_id'); - + ob_start(); ?>