diff --git a/library/Director/Web/Form/DirectorObjectForm.php b/library/Director/Web/Form/DirectorObjectForm.php index 7c3a93e4..d787a6b1 100644 --- a/library/Director/Web/Form/DirectorObjectForm.php +++ b/library/Director/Web/Form/DirectorObjectForm.php @@ -1075,7 +1075,11 @@ abstract class DirectorObjectForm extends QuickForm */ protected function addImportsElement($required = null) { - $required = $required !== null ? $required : !$this->isTemplate(); + if (in_array($this->getObjectShortClassName(), ['TimePeriod'])) { + $required = false; + } else { + $required = $required !== null ? $required : !$this->isTemplate(); + } $enum = $this->enumAllowedTemplates(); if (empty($enum)) { if ($required) {