Use isModEnabled
This commit is contained in:
parent
b1514af198
commit
6ae73e72e5
@ -560,7 +560,7 @@ class PaymentVAT extends CommonObject
|
||||
|
||||
$error = 0;
|
||||
|
||||
if (!empty($conf->banque->enabled)) {
|
||||
if (isModEnabled('banque')) {
|
||||
include_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
|
||||
|
||||
$acc = new Account($this->db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user