Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
2c6c3cc9
Commit
2c6c3cc9
authored
Apr 16, 2018
by
Côme Chilliet
Browse files
🚑
fix(foreignKey) Fix search for subobjects after move
issue
#5799
parent
c9d6d88b
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/simpleplugin/class_simplePlugin.inc
View file @
2c6c3cc9
...
...
@@ -1545,7 +1545,7 @@ class simplePlugin
$classes
=
array
(
get_class
(
$this
));
if
(
$olddn
!=
$newdn
)
{
$ldap
=
$config
->
get_ldap_link
();
$ldap
->
cd
(
$
old
dn
);
$ldap
->
cd
(
$
new
dn
);
$ldap
->
search
(
'(objectClass=*)'
,
array
(
'dn'
),
'one'
);
$subobjects
=
(
$ldap
->
count
()
>
0
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment