fixed problems with planned downtimes in Core. Tiquet: #2801

This commit is contained in:
m-lopez-f 2015-09-23 10:53:11 +02:00
parent 575c05d9a1
commit 67a173f68a
1 changed files with 1 additions and 0 deletions

View File

@ -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) {