From faee21b0d39d609ff1df9007980df12fb75e9ca7 Mon Sep 17 00:00:00 2001 From: sonikf <93765174+sonikf@users.noreply.github.com> Date: Fri, 22 Sep 2023 12:53:41 +0300 Subject: [PATCH] Use GETPOST instead of $_REQUEST --- htdocs/societe/checkvat/checkVatGr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/checkvat/checkVatGr.php b/htdocs/societe/checkvat/checkVatGr.php index c2be6305faa..0b4cece0661 100644 --- a/htdocs/societe/checkvat/checkVatGr.php +++ b/htdocs/societe/checkvat/checkVatGr.php @@ -28,7 +28,7 @@ require "../../main.inc.php"; $username = getDolGlobalString('AADE_WEBSERVICE_USER'); // Get username from request $password = getDolGlobalString('AADE_WEBSERVICE_KEY'); // Get password from request $myafm = getDolGlobalString('MAIN_INFO_TVAINTRA'); // Get Vat from request -$afm = (isset($_REQUEST['afm']) ? $_REQUEST['afm'] : ''); // Get client Vat from request +$afm = GETPOST('afm'); // Get client Vat from request // Make call to check VAT for Greek client $result = checkVATGR($username, $password, $myafm, $afm);