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:
Julius Härtl
2020-11-16 08:50:43 +01:00
committed by GitHub

View File

@@ -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)) {