FIX wrong hook name

This commit is contained in:
Regis Houssin 2025-01-10 03:04:55 +01:00
parent 57c185d136
commit 8d11c1625f

View File

@ -2088,9 +2088,9 @@ if ($action == 'create' || $action == 'adduserldap') {
print '</table>';
print '</div>';
// Other informations block
// Other informations bloc
$parameters = array('caneditpasswordandsee' => $permissiontoeditpasswordandsee, 'caneditpasswordandsend' => $permissiontoeditpasswordandsend);
$reshook = $hookmanager->executeHooks('addMoreInformationsBlock', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
$reshook = $hookmanager->executeHooks('addMoreInformationBloc', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
if ($reshook > 0) {
print $hookmanager->resPrint;
}