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
2215c549
Commit
2215c549
authored
Jan 26, 2017
by
Côme Chilliet
Browse files
Fixes
#5357
Avoid merging objectClasses count as an objectClass
parent
3e6c0212
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/class_template.inc
View file @
2215c549
...
...
@@ -194,6 +194,7 @@ class template
{
if
(
$targetdn
!==
NULL
)
{
$this
->
tabObject
=
objects
::
open
(
$targetdn
,
$this
->
type
);
unset
(
$this
->
attrs
[
'objectClass'
][
'count'
]);
foreach
(
$this
->
tabObject
->
by_object
as
$class
=>
&
$plugin
)
{
if
(
$plugin
->
is_account
||
$plugin
->
ignore_account
)
{
$this
->
attrs
[
'objectClass'
]
=
$plugin
->
mergeObjectClasses
(
$this
->
attrs
[
'objectClass'
]);
...
...
Write
Preview
Supports
Markdown
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