Use isModEnabled
This commit is contained in:
parent
be043fb088
commit
6fe80c3031
@ -493,7 +493,7 @@ class PaymentSalary 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