forked from Wavyzz/dolibarr
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user