Skip to content

Commit aacccd0

Browse files
committed
Only use first part of the explode result
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent 2d10186 commit aacccd0

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
@@ -91,7 +91,7 @@ public function isCalendarEnabled(int $boardId = null): bool {
9191

9292
public function set($key, $value) {
9393
$result = null;
94-
[$scope, $id] = explode(':', $key, 2);
94+
[$scope] = explode(':', $key, 2);
9595
switch ($scope) {
9696
case 'groupLimit':
9797
if (!$this->groupManager->isAdmin($this->userId)) {

0 commit comments

Comments
 (0)