Skip to content

Commit

Permalink
#27 [Admin] fix: wrong check categorie
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Jul 23, 2024
1 parent 0d14a17 commit e4aea72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
print '<td class="center">' . $langs->trans('ShortInfo') . '</td>';
print '</tr>';

if (!isModEnabled('categorie')) {
if (isModEnabled('categorie')) {
print '<tr><td>' . $langs->trans('GenerateGMAOTicketCategories') . '</td>';
print '<td class="center">';
print getDolGlobalInt('GMAO_TICKET_CATEGORIES_SET') ? $langs->trans('AlreadyGenerated') : $langs->trans('NotCreated');
Expand Down

0 comments on commit e4aea72

Please sign in to comment.