From: Marcin Haba Date: Sun, 19 Nov 2017 13:54:17 +0000 (+0100) Subject: baculum: Fix saving names with spaces inside schedule Run directive X-Git-Tag: Release-9.0.6~28 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6ebcf502852cee9ccd2ad11f3191212919a1e4bc;p=bacula%2Fbacula baculum: Fix saving names with spaces inside schedule Run directive --- diff --git a/gui/baculum/protected/Web/Portlets/DirectiveSchedule.php b/gui/baculum/protected/Web/Portlets/DirectiveSchedule.php index 2ecfcab32d..e3a37be5fe 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveSchedule.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveSchedule.php @@ -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}\""; } }