mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX use the right hook name
This commit is contained in:
parent
f8b957fd0d
commit
5ab7e9ec3f
|
|
@ -2088,9 +2088,9 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||
print '</table>';
|
||||
print '</div>';
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user