From e90e69b51707a3d74f28cac7e377995c89a02db8 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Fri, 9 Apr 2010 17:04:39 +0000 Subject: [PATCH] 2010-04-09 Sergio Martin * godmode/alerts/configure_alert_template.php: Typo fix for bug 2981933 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/godmode/alerts/configure_alert_template.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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');