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:
parent
f40a6d59b7
commit
bf4f81e680
|
@ -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>
|
2012-01-10 Junichi Satoh <junichi@rworks.jp>
|
||||||
|
|
||||||
* mobile/operation/agents/view_agents.php: Fixed 'img' paths.
|
* mobile/operation/agents/view_agents.php: Fixed 'img' paths.
|
||||||
|
|
|
@ -72,14 +72,14 @@ if ($stop_downtime == 1){
|
||||||
$date_time_stop = strtotime ($date_stop.' '.$time_stop);
|
$date_time_stop = strtotime ($date_stop.' '.$time_stop);
|
||||||
|
|
||||||
$values = array(
|
$values = array(
|
||||||
'id' => $id_downtime,
|
|
||||||
'name' => $name,
|
'name' => $name,
|
||||||
'description' => $description,
|
'description' => $description,
|
||||||
'date_from' => $date_from,
|
'date_from' => $date_from,
|
||||||
'date_to' => $date_time_stop,
|
'date_to' => $date_time_stop,
|
||||||
'executed' => 0,
|
'executed' => $executed,
|
||||||
'id_group' => $id_group,
|
'id_group' => $id_group,
|
||||||
'only_alerts' => $only_alerts);
|
'only_alerts' => $only_alerts
|
||||||
|
);
|
||||||
|
|
||||||
$result = db_process_sql_update('tplanned_downtime', $values, array ('id' => $id_downtime));
|
$result = db_process_sql_update('tplanned_downtime', $values, array ('id' => $id_downtime));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue