Commit 3405bb14 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch...

Merge branch '6081-hiddenarrayattribute-cause-problems-when-indexes-are-not-contiguous' into '1.4-dev'

Resolve "HiddenArrayAttribute cause problems when indexes are not contiguous"

See merge request fusiondirectory/fd!757
Showing with 9 additions and 0 deletions
+9 -0
......@@ -823,6 +823,15 @@ class HiddenArrayAttribute extends HiddenAttribute
}
}
}
public function computeLdapValue ()
{
if (is_array($this->value)) {
return array_values($this->value);
} else {
return parent::computeLdapValue();
}
}
}
/*!
......
Supports Markdown
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