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

Fixes #5357 Avoid merging objectClasses count as an objectClass

parent 3e6c0212
......@@ -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']);
......
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