Commit 1e122546 authored by Côme Chilliet's avatar Côme Chilliet

🚑 fix(webservice) Fix dynamic tab support at ogroup creation

issue #6037
parent db085ed8
......@@ -489,7 +489,7 @@ class posixAccount extends simplePlugin
'uid' => $this->getUid(),
];
$baseObject->attributesAccess['member']->addValue($this->dn, $attrs);
$tabObject->gen_tabs();
$tabObject->loadTabs();
$posixTab = $tabObject->by_object['mixedGroup'];
} else {
$posixTab = $baseObject;
......
......@@ -488,6 +488,7 @@ class fdRPCService
}
$tabobject->current = $tab;
$tabobject->save_object(); /* Should not do much as POST is empty, but in some cases is needed */
$tabobject->loadTabs();
}
$errors = $tabobject->save();
if (!empty($errors)) {
......
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