fix php8 warning

This commit is contained in:
Frédéric FRANCE 2021-03-19 16:34:17 +01:00 committed by GitHub
parent 3414511d7f
commit 84b71dbcc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,6 +121,7 @@ $paymentdate = -1;
* Actions
*/
$parameters = array();
$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action);
if ($reshook < 0) {
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');