fix newpayment (#30983)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
Mohamed DAOUD 2024-09-17 03:21:49 +02:00 committed by GitHub
parent 93aa372c22
commit bc063be226
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {