From 0a1e2699a8cada84d826fc8f22684124a7be2c11 Mon Sep 17 00:00:00 2001 From: "eike.starkmann" Date: Wed, 20 Dec 2017 16:19:23 +0100 Subject: [PATCH] FIX: use correct group for recursive ldap groups refs #82503 --- Classes/Controller/ModuleController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/Controller/ModuleController.php b/Classes/Controller/ModuleController.php index fcb6665..5c333d4 100644 --- a/Classes/Controller/ModuleController.php +++ b/Classes/Controller/ModuleController.php @@ -460,11 +460,11 @@ public function importUserGroupsAjaxAction(\Causal\IgLdapSsoAuth\Domain\Model\Co if (preg_match("`<([^$]*)>`", $fieldParent, $attribute)) { $fieldParent = $attribute[1]; - if (is_array($group[$fieldParent])) { - unset($group[$fieldParent]['count']); + if (is_array($ldapGroup[$fieldParent])) { + unset($ldapGroup[$fieldParent]['count']); $this->setParentGroup( - $group[$fieldParent], + $ldapGroup[$fieldParent], $fieldParent, $group['uid'], $pid,