From fd365c3f45ea2ac08eaa216bfb4e07abbee35d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 19 Nov 2024 03:32:55 +0100 Subject: [PATCH] fix warning close #31975 (#31993) https://github.com/Dolibarr/dolibarr/issues/31975 Co-authored-by: Laurent Destailleur --- htdocs/admin/bank.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/admin/bank.php b/htdocs/admin/bank.php index bf50e94fb2f..323116d1000 100644 --- a/htdocs/admin/bank.php +++ b/htdocs/admin/bank.php @@ -380,7 +380,7 @@ foreach ($dirmodels as $reldir) { // Default print ''; - if ($conf->global->BANKADDON_PDF == $name) { + if (getDolGlobalString('BANKADDON_PDF') == $name) { print img_picto($langs->trans("Default"), 'on'); } else { print 'scandir.'&label='.urlencode($module->name).'" alt="'.$langs->trans("Default").'">'.img_picto($langs->trans("Disabled"), 'off').'';