From bc063be226d3d565a21e7a887094c2e73392d372 Mon Sep 17 00:00:00 2001 From: Mohamed DAOUD Date: Tue, 17 Sep 2024 03:21:49 +0200 Subject: [PATCH] fix newpayment (#30983) Co-authored-by: Laurent Destailleur --- htdocs/public/payment/newpayment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/public/payment/newpayment.php b/htdocs/public/payment/newpayment.php index 9453d4f4940..e8aa11ce345 100644 --- a/htdocs/public/payment/newpayment.php +++ b/htdocs/public/payment/newpayment.php @@ -98,7 +98,7 @@ if (!GETPOST("currency", 'alpha')) { } $source = GETPOST("s", 'aZ09') ? GETPOST("s", 'aZ09') : GETPOST("source", 'aZ09'); $getpostlang = GETPOST('lang', 'aZ09'); -$ws = GETPOSTINT("ws"); // Website reference where the newpayment page is embedded +$ws = GETPOST("ws"); // Website reference where the newpayment page is embedded if (!$action) { if (!GETPOST("amount", 'alpha') && !$source) {