Skip to content

Commit

Permalink
fixed: use correct type to edit auto join groups
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Jun 26, 2024
1 parent 3e4193b commit 81ff10e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

$group_guids = (array) elgg_extract('group_guids', $config, []);
foreach ($group_guids as $guid) {
$group = get_entity($guid);
$group = get_entity((int) $guid);
if (!$group instanceof \ElggGroup) {
continue;
}
Expand Down

0 comments on commit 81ff10e

Please sign in to comment.