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…
Reference in New Issue