diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f79d5534f4..43feec628a 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2009-11-30 Miguel de Dios + + * include/functions_ui.php: show the deault action with other style. + Fixes: 2905966 + 2009-11-30 Miguel de Dios * include/functions_alerts.php: fix deletion of compound alerts in the diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index aa03857208..d163bb7310 100644 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -369,10 +369,20 @@ function format_alert_row ($alert, $compound = false, $agent = true, $url = '') } $data[$index['description']] .= $disabledHtmlStart . mb_substr (safe_input ($description), 0, 35) . $disabledHtmlEnd; + $actionDefault = get_db_value_sql("SELECT id_alert_action + FROM talert_templates WHERE id = " . $alert['id_alert_template']); + $actions = get_alert_agent_module_actions ($alert['id']); $actionText = ''; $data[$index['action']] = $actionText;