2012-01-10 Vanessa Gil <vanessa.gil@artica.es>

* 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
This commit is contained in:
vgilc 2012-01-10 09:36:29 +00:00
parent 1dfbd12cd2
commit 89c224af45
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2012-01-10 Vanessa Gil <vanessa.gil@artica.es>
* godmode/agentes/planned_downtime.php: fixed error in
planned downtime.
2012-01-10 Junichi Satoh <junichi@rworks.jp>
* mobile/operation/agents/view_agents.php: Fixed 'img' paths.

View File

@ -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));
}