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

Fixes #5196 Fixed unicity check for object with empty RDN (like departments)

parent 55c63678
......@@ -496,7 +496,11 @@ class Attribute
},
array_keys($infos['plObjectType']),
array_values($infos['plObjectType'])
)
),
function ($ou)
{
return ($ou !== FALSE);
}
);
while ($attrs = $ldap->fetch()) {
if ($attrs['dn'] != $this->plugin->dn) {
......
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