mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX php8 compatibility
This commit is contained in:
parent
79974b456f
commit
5bf8b3ceb0
|
|
@ -259,12 +259,12 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
|
|||
$board = new RemiseCheque($db);
|
||||
$dashboardlines[$board->element] = $board->load_board($user);
|
||||
}
|
||||
if (!empty($conf->prelevement->enabled)) {
|
||||
if (isModEnabled('prelevement')) {
|
||||
include_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
|
||||
$board = new BonPrelevement($db);
|
||||
$dashboardlines[$board->element.'_direct_debit'] = $board->load_board($user, 'direct_debit');
|
||||
}
|
||||
if (!empty($conf->paymentbybanktransfer->enabled)) {
|
||||
if (isModEnabled('paymentbybanktransfer')) {
|
||||
include_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
|
||||
$board = new BonPrelevement($db);
|
||||
$dashboardlines[$board->element.'_credit_transfer'] = $board->load_board($user, 'credit_transfer');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user