From 7c3f0be83d4c5fa5609c9b787301f948957cc815 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 13 Apr 2018 09:09:26 +0200 Subject: [PATCH] Fix: missing parameters --- htdocs/user/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/user/card.php b/htdocs/user/card.php index beefbf83a3c..ecfb5de2436 100644 --- a/htdocs/user/card.php +++ b/htdocs/user/card.php @@ -820,7 +820,7 @@ if ($action == 'create' || $action == 'adduserldap') } // Other form for add user to group - $parameters=array('valuetoshow' => $valuetoshow); + $parameters=array('valuetoshow' => $valuetoshow, 'password' => $password); $reshook=$hookmanager->executeHooks('printUserPasswordField',$parameters,$object,$action); // Note that $action and $object may have been modified by hook if ($reshook > 0) $valuetoshow=$hookmanager->resPrint; // to replace else $valuetoshow.=$hookmanager->resPrint; // to add