diff --git a/pandora_console/include/functions_planned_downtimes.php b/pandora_console/include/functions_planned_downtimes.php index b377c630d5..a819d87aeb 100644 --- a/pandora_console/include/functions_planned_downtimes.php +++ b/pandora_console/include/functions_planned_downtimes.php @@ -532,6 +532,8 @@ function planned_downtimes_stop ($downtime) { if (empty($downtime)) return false; + $id_downtime = $downtime['id']; + switch ($downtime['type_execution']) { case 'once': $values = array(