Use isModEnabled
This commit is contained in:
parent
85571fee42
commit
f8f9b3fa4d
@ -83,7 +83,7 @@ $arrayfields = array(
|
|||||||
't.status' =>array('checked'=>1, 'position'=>90, 'label'=>"Status"),
|
't.status' =>array('checked'=>1, 'position'=>90, 'label'=>"Status"),
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!empty($conf->banque->enabled)) {
|
if (isModEnabled('banque')) {
|
||||||
$arrayfields['t.fk_account'] = array('checked'=>1, 'position'=>60, 'label'=>"DefaultBankAccount");
|
$arrayfields['t.fk_account'] = array('checked'=>1, 'position'=>60, 'label'=>"DefaultBankAccount");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user