]> git.sur5r.net Git - bacula/bacula/commitdiff
baculum: Fix saving names with spaces inside schedule Run directive
authorMarcin Haba <marcin.haba@bacula.pl>
Sun, 19 Nov 2017 13:54:17 +0000 (14:54 +0100)
committerMarcin Haba <marcin.haba@bacula.pl>
Sun, 19 Nov 2017 14:09:02 +0000 (15:09 +0100)
gui/baculum/protected/Web/Portlets/DirectiveSchedule.php

index 2ecfcab32de66b88477c338d3544c83ebde0b064..e3a37be5fe5059e7ef58d3a70747b6b554f1e30e 100644 (file)
@@ -318,7 +318,7 @@ class DirectiveSchedule extends DirectiveListTemplate {
                                        // value the same as default value, skip it
                                        continue;
                                }
-                               $directive_values[] = "{$directive_name}={$directive_value}";
+                               $directive_values[] = "{$directive_name}=\"{$directive_value}\"";
                        }
                }