diff --git a/htdocs/user/card.php b/htdocs/user/card.php index 7db5b6ba454..e2992a25f46 100644 --- a/htdocs/user/card.php +++ b/htdocs/user/card.php @@ -2088,9 +2088,9 @@ if ($action == 'create' || $action == 'adduserldap') { print ''; print ''; - // Other informations bloc + // Add more object block $parameters = array('caneditpasswordandsee' => $permissiontoeditpasswordandsee, 'caneditpasswordandsend' => $permissiontoeditpasswordandsend); - $reshook = $hookmanager->executeHooks('addMoreInformationBlock', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + $reshook = $hookmanager->executeHooks('addMoreObjectBlock', $parameters, $object, $action); // Note that $action and $object may have been modified by hook if ($reshook > 0) { print $hookmanager->resPrint; }