mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Use isModEnabled
This commit is contained in:
@@ -8614,7 +8614,7 @@ class Form
|
||||
}
|
||||
} elseif ($objecttype == 'ficheinter') {
|
||||
$tplpath = 'fichinter';
|
||||
if (empty($conf->ficheinter->enabled)) {
|
||||
if (!isModEnabled('ficheinter')) {
|
||||
continue; // Do not show if module disabled
|
||||
}
|
||||
} elseif ($objecttype == 'invoice_supplier') {
|
||||
|
||||
Reference in New Issue
Block a user