Merge branch 'ent-13634-17448-error-500-llamada-api-planned_downtimes_deleted' into 'develop'
Ent 13634 17448 error 500 llamada api planned downtimes deleted See merge request artica/pandorafms!7318
This commit is contained in:
commit
656ceb25c6
|
@ -961,7 +961,7 @@ function planned_downtimes_items($filter)
|
|||
|
||||
function delete_planned_downtimes($filter)
|
||||
{
|
||||
$downtime_execute = db_get_row_filter('tplanned_downtime', ['id' => $filter['id_downtime']], 'execute');
|
||||
$downtime_execute = db_get_row_filter('tplanned_downtime', ['id' => $filter['id_downtime']], 'executed');
|
||||
|
||||
if ($downtime_execute) {
|
||||
$return = __("This scheduled downtime are executed now. Can't delete in this moment.");
|
||||
|
|
Loading…
Reference in New Issue