diff --git a/api/src/Accounts/Import.php b/api/src/Accounts/Import.php index b64c1415ff..9385d77207 100644 --- a/api/src/Accounts/Import.php +++ b/api/src/Accounts/Import.php @@ -839,8 +839,9 @@ class Import } else { - $set_members[$sql_id] = $this->accounts->members($group['account_id']); + $set_members[$sql_id] = $this->accounts->members($account_id); } + $this->logger("Group '$group[account_lid]' members: ".json_encode($set_members[$sql_id]), 'debug'); } // delete the groups not returned from LDAP, groups can NOT be deactivated, we just delete them in the DB