diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index ed78b8655d..65bd2b747d 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2009-04-22 Manuel Arostegui + + * operation/agentes/sla_view.php: Fixed bug #2777504 + 2009-04-21 Evi Vanoost * include/functions_ui.php: Added get_url_refresh which gets the correct diff --git a/pandora_console/operation/agentes/sla_view.php b/pandora_console/operation/agentes/sla_view.php index 1203ec57eb..398b972775 100644 --- a/pandora_console/operation/agentes/sla_view.php +++ b/pandora_console/operation/agentes/sla_view.php @@ -35,6 +35,11 @@ $id_agent = get_parameter ("id_agente", 0); $interval = get_agent_interval ($id_agent); $modules = get_agent_modules ($id_agent, '*', array ('disabled' => 0, 'history_data' => 1, 'delete_pending' => 0)); +if (empty ($modules)) { + print_error_message (__("There are no modules to evaluate the S.L.A. from")); + return; +} + $offset = get_parameter ("offset", 0); // Get all module from agent