Commit 1d7031c0 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3564 Fixed references and foreignKey searches

parent a8deaacd
......@@ -116,12 +116,6 @@ class objects
throw new EmptyFilterException();
}
$object_ou = $infos['ou'];
if (!empty($object_ou)) {
if (!preg_match("/^$object_ou/", $ou)) {
$ou = $object_ou.$ou;
}
}
$ldap = $config->get_ldap_link();
if (!$ldap->dn_exists($ou)) {
throw new NonExistingBranchException();
......
Markdown is supported
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