diff --git a/htdocs/ticket/agenda.php b/htdocs/ticket/agenda.php index 81f1d0b0ac6..fe770fbe413 100644 --- a/htdocs/ticket/agenda.php +++ b/htdocs/ticket/agenda.php @@ -77,6 +77,7 @@ if (GETPOST('actioncode', 'array')) { $search_rowid = GETPOST('search_rowid'); $search_agenda_label = GETPOST('search_agenda_label'); +$hookmanager->initHooks(array('ticketagenda', 'globalcard')); // Note that conf->hooks_modules contains array $object = new Ticket($db); $object->fetch($id, $ref, $track_id); diff --git a/htdocs/ticket/messaging.php b/htdocs/ticket/messaging.php index 024637664a3..d2b2d6688cc 100644 --- a/htdocs/ticket/messaging.php +++ b/htdocs/ticket/messaging.php @@ -76,6 +76,8 @@ if (GETPOST('actioncode', 'array')) { $search_rowid = GETPOST('search_rowid'); $search_agenda_label = GETPOST('search_agenda_label'); + +$hookmanager->initHooks(array('ticketmessaging', 'globalcard')); // Note that conf->hooks_modules contains array $object = new Ticket($db); $object->fetch($id, $ref, $track_id);