]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Fix #2418 creating or updating new resource
authorMarcin Haba <marcin.haba@bacula.pl>
Sun, 16 Sep 2018 19:22:30 +0000 (21:22 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Sun, 16 Sep 2018 19:27:48 +0000 (21:27 +0200)
gui/baculum/protected/API/Class/BaculaSetting.php

index 09b8ed85a3d75aacfdc38e51810311d76fcd5eff..019f730452e9b12afaaeadb396133be2c144b015 100644 (file)
@@ -355,7 +355,7 @@ class BaculaSetting extends APIModule {
                return $resource;
        }
 
-       private function updateSubResource(string $resource_type, string $directive_name, array $subresource_new) {
+       private function updateSubResource($resource_type, $directive_name, array $subresource_new) {
                $resource = array();
                foreach($subresource_new as $index => $directive_value) {
                        $check_recursive = false;