Merge pull request #32566 from hregis/fix_20_broken_feature_hook_deleted

FIX broken feature, hook removed
This commit is contained in:
Laurent Destailleur 2025-01-07 21:24:42 +01:00 committed by GitHub
commit e4dc4b895e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -450,6 +450,10 @@ if ($resql) {
print '<br>';
$parameters = array('chartofaccounts' => $chartofaccounts, 'permissiontoadd' => $permissiontoadd, 'permissiontodelete' => $permissiontodelete);
$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $accounting, $action); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
$parameters = array();
$reshook = $hookmanager->executeHooks('printFieldPreListTitle', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;