From 4543aeeff04ac999b0915a243024cebef05d34a4 Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Sat, 27 Aug 2022 08:19:49 +0200 Subject: [PATCH] PHP8 Warnings --- htdocs/takepos/pay.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/takepos/pay.php b/htdocs/takepos/pay.php index 40d873654c6..a1b01867a3f 100644 --- a/htdocs/takepos/pay.php +++ b/htdocs/takepos/pay.php @@ -425,7 +425,7 @@ while ($i < count($arrayOfValidPaymentModes)) { } $keyforsumupbank = "CASHDESK_ID_BANKACCOUNT_SUMUP".$_SESSION["takeposterminal"]; -if ($conf->global->TAKEPOS_ENABLE_SUMUP) { +if (getDolGlobalInt('TAKEPOS_ENABLE_SUMUP')) { if (!empty($conf->global->$keyforsumupbank)) { print ''; } else {