Merge pull request #21783 from grandoc/new_branch_17_08_2022
FIX php8 compatibility
This commit is contained in:
commit
1e8e2f47a1
@ -260,12 +260,12 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
|
||||
$dashboardlines[$board->element] = $board->load_board($user);
|
||||
}
|
||||
if (isModEnabled('prelevement')) {
|
||||
include_once DOL_DOCUMENT_ROOT . '/compta/prelevement/class/bonprelevement.class.php';
|
||||
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 (isModEnabled('paymentbybanktransfer')) {
|
||||
include_once DOL_DOCUMENT_ROOT . '/compta/prelevement/class/bonprelevement.class.php';
|
||||
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