From: Joas Schilling Date: Fri, 19 May 2017 20:30:55 +0000 (+0200) Subject: Fix missing argument 2 for Settings classes X-Git-Tag: v12.0.0RC3~3^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fa95fb6862b2f7f0018f7d72159a8218d2e16d59;p=nextcloud-server.git Fix missing argument 2 for Settings classes Signed-off-by: Joas Schilling --- diff --git a/lib/private/ServerContainer.php b/lib/private/ServerContainer.php index 97a3b99d534..40e261df4d6 100644 --- a/lib/private/ServerContainer.php +++ b/lib/private/ServerContainer.php @@ -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,