Skip to content

Commit

Permalink
Merge pull request #182 from foliengriller/usergroup
Browse files Browse the repository at this point in the history
Prevents intExplode on null
  • Loading branch information
liayn authored Dec 11, 2024
2 parents babc53d + f8321ea commit 3b98625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/AuthenticationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ protected function convertResourceOwner(array $info): bool|array
$newUserGroups = [];
$defaultUserGroups = GeneralUtility::intExplode(',', $this->config['usersDefaultGroup']);

if (!empty($row)) {
if (!empty($row['usergroup'])) {
$currentUserGroups = GeneralUtility::intExplode(',', $row['usergroup'], true);
if (!empty($currentUserGroups)) {
$queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)
Expand Down

0 comments on commit 3b98625

Please sign in to comment.