mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
fix: add missing hook init in Ticket Agenda/Messaging (#30888)
* fix: add missing hook init in Ticket Agenda/Messaging * fix: add missing hook init in Ticket Agenda/Messaging * fix: CI --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
parent
58ee8a187b
commit
bb2cd79657
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user