diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 9e7bc09147..782943d43a 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-04-09 Sergio Martin + + * godmode/alerts/configure_alert_template.php: Typo fix for bug + 2981933 + 2010-04-09 Junichi Satoh * include/functions_extensions.php: Changed the function to use, diff --git a/pandora_console/godmode/alerts/configure_alert_template.php b/pandora_console/godmode/alerts/configure_alert_template.php index 2db9910894..af95650fe4 100644 --- a/pandora_console/godmode/alerts/configure_alert_template.php +++ b/pandora_console/godmode/alerts/configure_alert_template.php @@ -143,9 +143,9 @@ function update_template ($step) { $saturday = (bool) get_parameter ('saturday'); $sunday = (bool) get_parameter ('sunday'); $time_from = (string) get_parameter ('time_from'); - $time_from = date ("H:s:00", strtotime ($time_from)); + $time_from = date ("H:i:00", strtotime ($time_from)); $time_to = (string) get_parameter ('time_to'); - $time_to = date ("H:s:00", strtotime ($time_to)); + $time_to = date ("H:i:00", strtotime ($time_to)); $threshold = (int) get_parameter ('threshold'); $max_alerts = (int) get_parameter ('max_alerts'); $min_alerts = (int) get_parameter ('min_alerts');