Commit 23add9d8 authored by Côme Chilliet's avatar Côme Chilliet

Merge branch '6037-cannot-fill-dynamic-tabs-at-ogroup-creation' into '1.4-dev'

Resolve "Cannot fill dynamic tabs at ogroup creation"

See merge request fusiondirectory/fd-plugins!687
parents db085ed8 1e122546
......@@ -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