Fix missing param

This commit is contained in:
Laurent Destailleur 2022-03-31 13:28:19 +02:00
parent 7b84b3e92d
commit df4e5fe84d

View File

@ -362,7 +362,7 @@ class Notify
}
$hookmanager->initHooks(array('notification'));
$parameters = array('notifcode' => $notifcode);
$reshook = $hookmanager->executeHooks('notifsupported', $parameters, $object, $action);
if (empty($reshook)) {
if (!empty($hookmanager->resArray['arrayofnotifsupported'])) {