Commit 6dec2eab authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5357 Avoid merging objectClasses count as an objectClass

Showing with 1 addition and 0 deletions
+1 -0
...@@ -191,6 +191,7 @@ class template ...@@ -191,6 +191,7 @@ class template
{ {
if ($targetdn !== NULL) { if ($targetdn !== NULL) {
$this->tabObject = objects::open($targetdn, $this->type); $this->tabObject = objects::open($targetdn, $this->type);
unset($this->attrs['objectClass']['count']);
foreach ($this->tabObject->by_object as $class => &$plugin) { foreach ($this->tabObject->by_object as $class => &$plugin) {
if ($plugin->is_account || $plugin->ignore_account) { if ($plugin->is_account || $plugin->ignore_account) {
$this->attrs['objectClass'] = $plugin->mergeObjectClasses($this->attrs['objectClass']); $this->attrs['objectClass'] = $plugin->mergeObjectClasses($this->attrs['objectClass']);
......
  • bmortier @bmortier

    mentioned in issue #1707

    By Jonathan Swaelens on 2017-09-02T15:35:25 (imported from GitLab)

    ·

    mentioned in issue #1707

    By Jonathan Swaelens on 2017-09-02T15:35:25 (imported from GitLab)

    Toggle commit list
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