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