diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 1f69d0d7b7..a666f4521e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-02-16 Miguel de Dios + + * include/ajax/visual_console_builder.ajax.php: fixed other safe_ouput in + the editor. + 2011-02-16 Miguel de Dios * include/functions_visual_map.php: added lost safe_ouput in the extract diff --git a/pandora_console/include/ajax/visual_console_builder.ajax.php b/pandora_console/include/ajax/visual_console_builder.ajax.php index 0ac2a8c53f..6484f19e12 100644 --- a/pandora_console/include/ajax/visual_console_builder.ajax.php +++ b/pandora_console/include/ajax/visual_console_builder.ajax.php @@ -177,14 +177,14 @@ switch ($action) { case 'label': case 'icon': $elementFields = get_db_row_filter('tlayout_data', array('id' => $id_element)); - $elementFields['agent_name'] = get_agent_name($elementFields['id_agent']); + $elementFields['agent_name'] = safe_output(get_agent_name($elementFields['id_agent'])); //Make the html of select box of modules about id_agent. if ($elementFields['id_agent'] != 0) { - $modules = get_agent_modules ($elementFields['id_agent'], false, array('disabled' => 0, 'id_agente' => $elementFields['id_agent'])); + $modules = get_agent_modules($elementFields['id_agent'], false, array('disabled' => 0, 'id_agente' => $elementFields['id_agent'])); $elementFields['modules_html'] = ''; foreach ($modules as $id => $name) { - $elementFields['modules_html'] .= ''; + $elementFields['modules_html'] .= ''; } } else {