minor fix
This commit is contained in:
parent
146f3b44d9
commit
7fc32d3269
|
@ -246,12 +246,10 @@ function planned_downtimes_get_malformed()
|
|||
$sql = "SELECT *
|
||||
FROM tplanned_downtime
|
||||
WHERE type_execution = 'periodically'
|
||||
AND ((type_periodicity = 'monthly'
|
||||
AND (type_periodicity = 'monthly'
|
||||
AND (periodically_day_from > periodically_day_to
|
||||
OR (periodically_day_from = periodically_day_to
|
||||
AND periodically_time_from >= periodically_time_to)))
|
||||
OR (type_periodicity = 'weekly'
|
||||
AND periodically_time_from >= periodically_time_to))";
|
||||
AND periodically_time_from >= periodically_time_to)))";
|
||||
$malformed_downtimes = db_get_all_rows_sql($sql);
|
||||
|
||||
if ($malformed_downtimes === false) {
|
||||
|
|
Loading…
Reference in New Issue