]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/baculum/protected/Web/Portlets/DirectiveSchedule.php
baculum: Fix saving boolean values in schedule Run directive
[bacula/bacula] / gui / baculum / protected / Web / Portlets / DirectiveSchedule.php
index e3a37be5fe5059e7ef58d3a70747b6b554f1e30e..8b7ead3167ce4e5261a03cbfca7a4e3a2c66b638 100644 (file)
@@ -318,6 +318,9 @@ class DirectiveSchedule extends DirectiveListTemplate {
                                        // value the same as default value, skip it
                                        continue;
                                }
+                               if ($this->directive_types[$i] === 'DirectiveBoolean') {
+                                       $directive_value = Params::getBoolValue($directive_value);
+                               }
                                $directive_values[] = "{$directive_name}=\"{$directive_value}\"";
                        }
                }