Skip to content
Snippets Groups Projects
Commit e0e64af1 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Hierarchical user not saved.

parent eb0d98d4
No related branches found
No related tags found
No related merge requests found
......@@ -192,6 +192,7 @@ if ($action == 'add' && $canadduser)
$object->accountancy_code = GETPOST("accountancy_code");
$object->note = GETPOST("note");
$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
$ret = $extrafields->setOptionalsFromPost($extralabels,$object);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment