Commit 18e9ea0f authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5367 Fixed role_attrs var name error detected by sonar

parent fc9a1026
......@@ -765,7 +765,7 @@ class Step_Migrate extends setupStep
}
if (isset($roles[$member])) {
$ldap->cat($member);
$roles_attrs = $ldap->fetch();
$role_attrs = $ldap->fetch();
$val_users = '';
if (isset($role_attrs['roleOccupant'])) {
for ($e = 0; $e < $role_attrs['roleOccupant']['count']; $e ++) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment