PHP8 Warnings

This commit is contained in:
Alexandre SPANGARO 2022-08-27 08:19:49 +02:00
parent 612bedb039
commit 4543aeeff0

View File

@ -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 '<button type="button" class="calcbutton2" onclick="ValidateSumup();">Sumup</button>';
} else {