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 {