]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix missing argument 2 for Settings classes 4980/head
authorJoas Schilling <coding@schilljs.com>
Fri, 19 May 2017 20:30:55 +0000 (22:30 +0200)
committerJoas Schilling <coding@schilljs.com>
Fri, 19 May 2017 20:30:55 +0000 (22:30 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/ServerContainer.php

index 97a3b99d534f3f6e328e176e926b9964d5049062..40e261df4d6991bc4f322286d0cd639482e128ee 100644 (file)
@@ -121,7 +121,7 @@ class ServerContainer extends SimpleContainer {
                } else if (strpos($name, 'OC\\Settings\\') === 0 && substr_count($name, '\\') >= 3) {
                        $segments = explode('\\', $name);
                        try {
-                               $appContainer = $this->getAppContainer(strtolower($segments[1]));
+                               $appContainer = $this->getAppContainer(strtolower($segments[1]), $segments[1]);
                                return $appContainer->queryNoFallback($name);
                        } catch (QueryException $e) {
                                // Didn't find the service or the respective app container,