Skip to content

Commit 07661f0

Browse files
committed
reindex after unset
1 parent 737f0ad commit 07661f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/UnityLDAP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public function getAllUsersAttributes($attributes)
244244
unset($user_attributes[$i]);
245245
}
246246
}
247-
return $user_attributes;
247+
return array_values($user_attributes); // reindex
248248
}
249249

250250
public function getAllPIGroups(

0 commit comments

Comments
 (0)