]> git.sur5r.net Git - bacula/bacula/commitdiff
baculum: Fix saving messages resource
authorMarcin Haba <marcin.haba@bacula.pl>
Fri, 10 Nov 2017 18:10:11 +0000 (19:10 +0100)
committerMarcin Haba <marcin.haba@bacula.pl>
Sat, 11 Nov 2017 18:27:20 +0000 (19:27 +0100)
gui/baculum/protected/API/Class/BaculaSetting.php

index 5ce79633f28e83d86ddd9c9423d58f5f6449dfb1..f046fe5c45b0b97d25c59a17cf7ec15c994cb69c 100644 (file)
@@ -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;
                                }
                        }