We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc3938d + e2195a2 commit bd6c16eCopy full SHA for bd6c16e
1 file changed
lib/private/Share20/ShareDisableChecker.php
@@ -38,7 +38,7 @@ public function sharingDisabledForUser(?string $userId): bool {
38
39
if ($excludeGroups && $excludeGroups !== 'no') {
40
$groupsList = $this->config->getAppValue('core', 'shareapi_exclude_groups_list', '');
41
- $excludedGroups = json_decode($groupsList);
+ $excludedGroups = json_decode($groupsList, true);
42
if (is_null($excludedGroups)) {
43
$excludedGroups = explode(',', $groupsList);
44
$newValue = json_encode($excludedGroups);
0 commit comments