From: Marcin Haba Date: Fri, 10 Nov 2017 18:10:11 +0000 (+0100) Subject: baculum: Fix saving messages resource X-Git-Tag: Release-9.0.6~56 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=87b93fcba3ee7e46d33acfd52098613ad9229ed9;p=bacula%2Fbacula baculum: Fix saving messages resource --- diff --git a/gui/baculum/protected/API/Class/BaculaSetting.php b/gui/baculum/protected/API/Class/BaculaSetting.php index 5ce79633f2..f046fe5c45 100644 --- a/gui/baculum/protected/API/Class/BaculaSetting.php +++ b/gui/baculum/protected/API/Class/BaculaSetting.php @@ -273,7 +273,7 @@ class BaculaSetting extends APIModule { $resource[$resource_type][$directive_value[$i]['Type']] = implode(' = ', $value); } } else { - $resource[$resource_type][$directive_name] = $this->formatDirectiveValue($directive_value); + $resource[$resource_type][$directive_name] = $directive_value; } }