From: Marcin Haba Date: Fri, 10 Nov 2017 18:27:49 +0000 (+0100) Subject: baculum: Fix required directives in schedule resource configuration X-Git-Tag: Release-9.0.6~55 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7724d65eddff52db270ba36fc04334c72412f1cc;p=bacula%2Fbacula baculum: Fix required directives in schedule resource configuration --- diff --git a/gui/baculum/protected/Web/Portlets/DirectiveSchedule.php b/gui/baculum/protected/Web/Portlets/DirectiveSchedule.php index 6d1d97a761..2ecfcab32d 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveSchedule.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveSchedule.php @@ -105,9 +105,6 @@ class DirectiveSchedule extends DirectiveListTemplate { $directive_desc = $resource_desc[$this->overwrite_directives[$i]]; } if (is_object($directive_desc)) { - if (property_exists($directive_desc, 'Required')) { - $required = $directive_desc->Required; - } if (property_exists($directive_desc, 'DefaultValue')) { $default_value = $directive_desc->DefaultValue; }