Fix warning

This commit is contained in:
Laurent Destailleur
2023-07-31 03:52:05 +02:00
parent 9302a427a9
commit 016ab20155

View File

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