From 5ab7e9ec3fdaa634de7e92d72cec94ed423bcbe6 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 10 Jan 2025 03:21:20 +0100 Subject: [PATCH] FIX use the right hook name --- htdocs/user/card.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }