Merge pull request #16848 from frederic34/patch-3

fix php8 warning
This commit is contained in:
Laurent Destailleur 2021-03-20 11:37:12 +01:00 committed by GitHub
commit 30d25f6a82
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');