mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
fixed problems with planned downtimes in Core. Tiquet: #2801
This commit is contained in:
parent
575c05d9a1
commit
67a173f68a
@ -1768,6 +1768,7 @@ sub pandora_planned_downtime_weekly_start($$) {
|
||||
my @downtimes = get_db_rows($dbh, 'SELECT *
|
||||
FROM tplanned_downtime
|
||||
WHERE type_periodicity = ' . $RDBMS_QUOTE_STRING . 'weekly' . $RDBMS_QUOTE_STRING . '
|
||||
AND type_execution <> ' . $RDBMS_QUOTE_STRING . 'once' . $RDBMS_QUOTE_STRING . '
|
||||
AND executed = 0');
|
||||
|
||||
foreach my $downtime (@downtimes) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user