Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

FIX: use correct group for recursive ldap groups refs #82503 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Classes/Controller/ModuleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down