diff --git a/plugins/admin/ogroups/class_ogroupManagement.inc b/plugins/admin/ogroups/class_ogroupManagement.inc
index d6021660e2c1c41db1597ddde45c4dab61ab4a81..09fba6b173dcf135311ce696315d78d20da52384 100644 (file)
$dn = $this->ogrouplist[$s_entry]['dn'];
$obj = new ogrouptabs($this->config, $this->config->data['TABS']['OGROUPTABS'], $dn);
$objNew = new ogrouptabs($this->config, $this->config->data['TABS']['OGROUPTABS'], "new");
+
+ $types_of_tabs = $obj->by_object['ogroup']->gosaGroupObjects;
+ $objNew->by_object['ogroup']->gosaGroupObjects = $types_of_tabs;
+ $objNew->reload($types_of_tabs);
+
$this->CopyPasteHandler->Copy($obj,$objNew);
}