Merge pull request #2524 from nextcloud/bugfix/2522
Only try to extract first part of the explode result
This commit is contained in:
@@ -65,7 +65,7 @@ class ConfigService {
|
||||
|
||||
public function get($key) {
|
||||
$result = null;
|
||||
[$scope, $id] = explode(':', $key, 2);
|
||||
[$scope] = explode(':', $key, 2);
|
||||
switch ($scope) {
|
||||
case 'groupLimit':
|
||||
if (!$this->groupManager->isAdmin($this->userId)) {
|
||||
|
||||
Reference in New Issue
Block a user