Skip to content
Snippets Groups Projects
Commit e049b764 authored by Jeroen van Meeuwen (Kolab Systems)'s avatar Jeroen van Meeuwen (Kolab Systems)
Browse files

Ensure that multi-valued attributes have sequential indexes in the array

parent 7339e3aa
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -199,6 +199,8 @@ class Net_LDAP3
foreach ($attributes as $attr_name => $attr_value) {
if (empty($attr_value)) {
unset($attributes[$attr_name]);
} else if (is_array($attr_value)) {
$attributes[$attr_name] = array_values($attr_value);
}
}
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment