diff --git a/htdocs/core/modules/modTicket.class.php b/htdocs/core/modules/modTicket.class.php index 72fec5ebe01..9cf2c097e3b 100644 --- a/htdocs/core/modules/modTicket.class.php +++ b/htdocs/core/modules/modTicket.class.php @@ -108,7 +108,7 @@ class modTicket extends DolibarrModules // Example: $this->const = array(); $this->const[1] = array('TICKETS_ENABLE_PUBLIC_INTERFACE', 'chaine', '1', 'Enable ticket public interface'); - $this->const[2] = array('TICKETSUP_ADDON', 'chaine', 'mod_ticket_simple', 'Ticket ref module'); + $this->const[2] = array('TICKET_ADDON', 'chaine', 'mod_ticket_simple', 'Ticket ref module'); $this->tabs = array( 'thirdparty:+ticket:Tickets:@ticket:$user->rights->ticket->read:/ticket/list.php?socid=__ID__', diff --git a/htdocs/core/modules/ticket/mod_ticket_simple.php b/htdocs/core/modules/ticket/mod_ticket_simple.php index ac4347dc4db..b70b9babd05 100644 --- a/htdocs/core/modules/ticket/mod_ticket_simple.php +++ b/htdocs/core/modules/ticket/mod_ticket_simple.php @@ -23,7 +23,7 @@ * \brief File with class to manage the numbering module Simple for ticket references */ -require_once DOL_DOCUMENT_ROOT.'/core/modules/modules_ticket.php'; +require_once DOL_DOCUMENT_ROOT.'/core/modules/ticket/modules_ticket.php'; /** * Class to manage the numbering module Simple for ticket references diff --git a/htdocs/core/modules/ticket/mod_ticket_universal.php b/htdocs/core/modules/ticket/mod_ticket_universal.php index edc943e8341..2d521f18a5b 100644 --- a/htdocs/core/modules/ticket/mod_ticket_universal.php +++ b/htdocs/core/modules/ticket/mod_ticket_universal.php @@ -22,7 +22,7 @@ * \brief Fichier contenant la classe du modele de numerotation de reference de projet Universal */ -require_once DOL_DOCUMENT_ROOT.'/core/modules/modules_ticket.php'; +require_once DOL_DOCUMENT_ROOT.'/core/modules/ticket/modules_ticket.php'; /** * Classe du modele de numerotation de reference de projet Universal @@ -52,7 +52,7 @@ class mod_ticket_universal extends ModeleNumRefTicket $texte .= '