Use isModEnabled

This commit is contained in:
Alexandre SPANGARO
2022-09-25 06:15:47 +02:00
parent 5d19588037
commit e2c7cc13ca
5 changed files with 8 additions and 8 deletions

View File

@@ -68,7 +68,7 @@ $conditions = array(
'USERSIGN' => 1,
'MAILING' => isModEnabled('mailing'),
'MAIL' => (isModEnabled('facture') || isModEnabled("propal") || isModEnabled('commande')),
'TICKET' => !empty($conf->ticket->enabled),
'TICKET' => isModEnabled('ticket'),
);
// Picto
$picto = array(