Skip to content

Commit 652b548

Browse files
authored
Merge pull request #2524 from nextcloud/bugfix/2522
Only try to extract first part of the explode result
2 parents a8b6196 + 91a00e3 commit 652b548

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Service/ConfigService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function getAll(): array {
6565

6666
public function get($key) {
6767
$result = null;
68-
[$scope, $id] = explode(':', $key, 2);
68+
[$scope] = explode(':', $key, 2);
6969
switch ($scope) {
7070
case 'groupLimit':
7171
if (!$this->groupManager->isAdmin($this->userId)) {

0 commit comments

Comments
 (0)