From 81ff10e554c263ec1c66f04838280cdb62cf0c59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jer=C3=B4me=20Bakker?= Date: Wed, 26 Jun 2024 09:20:30 +0200 Subject: [PATCH] fixed: use correct type to edit auto join groups --- views/default/group_tools/elements/auto_join_configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/default/group_tools/elements/auto_join_configuration.php b/views/default/group_tools/elements/auto_join_configuration.php index fb951ee..35d2bd5 100644 --- a/views/default/group_tools/elements/auto_join_configuration.php +++ b/views/default/group_tools/elements/auto_join_configuration.php @@ -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; }