From 1025dc00809238df98f8721825d3af543f79a682 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Tue, 30 Jul 2013 15:02:07 +0000 Subject: [PATCH] 2013-07-30 Miguel de Dios * godmode/agentes/module_manager_editor_prediction.php, include/constants.php: fixed the repeat operator and added some constants for to make more easy the code. Fixes: #2279 MERGED FROM THE TRUNK git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- .../godmode/agentes/module_manager_editor_prediction.php | 2 +- pandora_console/include/constants.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pandora_console/godmode/agentes/module_manager_editor_prediction.php b/pandora_console/godmode/agentes/module_manager_editor_prediction.php index 82376fbb30..0e6fe780c5 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_prediction.php +++ b/pandora_console/godmode/agentes/module_manager_editor_prediction.php @@ -138,7 +138,7 @@ else { } $data[1] .= html_print_label(__("Module"),'prediction_module',true); -if($id_agente) { +if ($id_agente) { $sql = "SELECT id_agente_modulo, nombre FROM tagente_modulo WHERE delete_pending = 0 diff --git a/pandora_console/include/constants.php b/pandora_console/include/constants.php index 97888f985e..61f213e43c 100644 --- a/pandora_console/include/constants.php +++ b/pandora_console/include/constants.php @@ -159,6 +159,8 @@ define('AGENT_STATUS_UNKNOWN', 3); define('AGENT_STATUS_ALERT_FIRED', 4); define('AGENT_STATUS_WARNING', 2); + + /* Visual maps contants */ //The items kind define('STATIC_GRAPH', 0);