FIX warning accountancy export from external module (#36832)

This commit is contained in:
lvessiller-opendsi 2026-01-08 18:54:15 +01:00 committed by GitHub
parent db3d8a0a1a
commit f497a6a4fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -181,7 +181,7 @@ class AccountancyExport
);
global $hookmanager;
$code = $formatcode[$type];
$code = $formatcode[$type] ?? '';
$parameters = array('type' => $type);
$reshook = $hookmanager->executeHooks('getFormatCode', $parameters, $code);