mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 15:54:03 +02:00
DirectorObjectForm: do not require imports...
...for scheduled downtimes
This commit is contained in:
parent
b1bf17569b
commit
12c74df38c
@ -1154,7 +1154,7 @@ abstract class DirectorObjectForm extends DirectorForm
|
||||
return $this;
|
||||
}
|
||||
|
||||
if (in_array($this->getObjectShortClassName(), ['TimePeriod'])) {
|
||||
if (in_array($this->getObjectShortClassName(), ['TimePeriod', 'ScheduledDowntime'])) {
|
||||
$required = false;
|
||||
} else {
|
||||
$required = $required !== null ? $required : !$this->isTemplate();
|
||||
|
Loading…
x
Reference in New Issue
Block a user