use isModEnabled function

This commit is contained in:
Frédéric France
2022-06-09 22:49:48 +02:00
parent 5dcfc28913
commit 0b8179d7ef
7 changed files with 13 additions and 13 deletions

View File

@@ -188,7 +188,7 @@ print '<input type="hidden" name="token" value="'.newToken().'">';
print '<br>';
// For thirdparty
if ($conf->societe->enabled) {
if (isModEnabled('societe')) {
$nbno = $nbtotal = 0;
print load_fiche_titre($langs->trans("BarcodeInitForThirdparties"), '', 'company');