Merge pull request #2562 from nextcloud/bugfix/2544
Only try to extract first part of the explode result (Part 2)
This commit is contained in:
@@ -91,7 +91,7 @@ class ConfigService {
|
||||
|
||||
public function set($key, $value) {
|
||||
$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