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

🚑 fix(foreignKey) Fix search for subobjects after move

issue #5799
parent c9d6d88b
......@@ -1545,7 +1545,7 @@ class simplePlugin
$classes = array(get_class($this));
if ($olddn != $newdn) {
$ldap = $config->get_ldap_link();
$ldap->cd($olddn);
$ldap->cd($newdn);
$ldap->search('(objectClass=*)', array('dn'), 'one');
$subobjects = ($ldap->count() > 0);
}
......
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