fixed problems with planned downtimes in Core. Tiquet: #2801
This commit is contained in:
parent
dd73fe11cd
commit
2c3a91a3e9
|
@ -1905,7 +1905,8 @@ sub pandora_planned_downtime_weekly_start($$) {
|
|||
my @downtimes = get_db_rows($dbh, 'SELECT *
|
||||
FROM tplanned_downtime
|
||||
WHERE type_periodicity = ?
|
||||
AND executed = 0', 'weekly');
|
||||
AND type_execution <> ?
|
||||
AND executed = 0', 'weekly', 'once');
|
||||
|
||||
foreach my $downtime (@downtimes) {
|
||||
my $across_date = $downtime->{'periodically_time_from'} gt $downtime->{'periodically_time_to'} ? 1 : 0 ;
|
||||
|
|
Loading…
Reference in New Issue