Fixed possible problems of planned downtimes (same as the last fix for Tiquet #2801).
(cherry picked from commit f02cde7af7
)
This commit is contained in:
parent
c4af25cf34
commit
d126fd1eb6
|
@ -1794,6 +1794,7 @@ sub pandora_planned_downtime_monthly_start($$) {
|
|||
FROM tplanned_downtime
|
||||
WHERE type_periodicity = ?
|
||||
AND executed = 0
|
||||
AND type_execution <> ' . $RDBMS_QUOTE_STRING . 'once' . $RDBMS_QUOTE_STRING . '
|
||||
AND ((periodically_day_from = ? AND periodically_time_from <= ?) OR (periodically_day_from < ?))
|
||||
AND ((periodically_day_to = ? AND periodically_time_to >= ?) OR (periodically_day_to > ?))',
|
||||
'monthly', 'number_day_month',
|
||||
|
|
Loading…
Reference in New Issue