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

Fix: Bad param

parent c6d491b0
No related branches found
No related tags found
No related merge requests found
......@@ -251,7 +251,7 @@ if ($action == 'add')
$extralabels=$extrafields->fetch_name_optionals_label($adh->table_element);
$ret = $extrafields->setOptionalsFromPost($extralabels,$adh);
$result=$adh->create($user->id);
$result=$adh->create($user);
if ($result > 0)
{
require_once DOL_DOCUMENT_ROOT.'/core/class/CMailFile.class.php';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment