Fix: missing parameters
This commit is contained in:
parent
7d1292d838
commit
7c3f0be83d
@ -820,7 +820,7 @@ if ($action == 'create' || $action == 'adduserldap')
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Other form for add user to group
|
// 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
|
$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
|
if ($reshook > 0) $valuetoshow=$hookmanager->resPrint; // to replace
|
||||||
else $valuetoshow.=$hookmanager->resPrint; // to add
|
else $valuetoshow.=$hookmanager->resPrint; // to add
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user