Fix: Hierarchical user not saved.
This commit is contained in:
parent
eb0d98d406
commit
e0e64af18c
@ -192,6 +192,7 @@ if ($action == 'add' && $canadduser)
|
|||||||
$object->accountancy_code = GETPOST("accountancy_code");
|
$object->accountancy_code = GETPOST("accountancy_code");
|
||||||
$object->note = GETPOST("note");
|
$object->note = GETPOST("note");
|
||||||
$object->ldap_sid = GETPOST("ldap_sid");
|
$object->ldap_sid = GETPOST("ldap_sid");
|
||||||
|
$object->fk_user = GETPOST("fk_user")>0?GETPOST("fk_user"):0;
|
||||||
|
|
||||||
// Fill array 'array_options' with data from add form
|
// Fill array 'array_options' with data from add form
|
||||||
$ret = $extrafields->setOptionalsFromPost($extralabels,$object);
|
$ret = $extrafields->setOptionalsFromPost($extralabels,$object);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user