From 89c224af45945bb9e3c301f7fc4bef8a02e2bc63 Mon Sep 17 00:00:00 2001 From: vgilc Date: Tue, 10 Jan 2012 09:36:29 +0000 Subject: [PATCH] 2012-01-10 Vanessa Gil * godmode/agentes/planned_downtime.php: fixed error in planned downtime. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ pandora_console/godmode/agentes/planned_downtime.php | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 0994509aef..4f7d3973e6 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2012-01-10 Vanessa Gil + * godmode/agentes/planned_downtime.php: fixed error in + planned downtime. + 2012-01-10 Junichi Satoh * mobile/operation/agents/view_agents.php: Fixed 'img' paths. diff --git a/pandora_console/godmode/agentes/planned_downtime.php b/pandora_console/godmode/agentes/planned_downtime.php index 4b4937edb9..8c2650f233 100644 --- a/pandora_console/godmode/agentes/planned_downtime.php +++ b/pandora_console/godmode/agentes/planned_downtime.php @@ -72,14 +72,14 @@ if ($stop_downtime == 1){ $date_time_stop = strtotime ($date_stop.' '.$time_stop); $values = array( - 'id' => $id_downtime, 'name' => $name, 'description' => $description, 'date_from' => $date_from, 'date_to' => $date_time_stop, - 'executed' => 0, + 'executed' => $executed, 'id_group' => $id_group, - 'only_alerts' => $only_alerts); + 'only_alerts' => $only_alerts + ); $result = db_process_sql_update('tplanned_downtime', $values, array ('id' => $id_downtime)); }