From 19993086312d39c9da3b87d56026e4474d5fce03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20D=C3=B6llinger?= Date: Fri, 26 Jul 2024 09:24:44 +0200 Subject: [PATCH] fixed not passing language to formprovider --- src/backend/SCM_API/Server Scripts/SCM_API/GetCode.srvscr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/SCM_API/Server Scripts/SCM_API/GetCode.srvscr b/src/backend/SCM_API/Server Scripts/SCM_API/GetCode.srvscr index a014783..c60c4c5 100644 --- a/src/backend/SCM_API/Server Scripts/SCM_API/GetCode.srvscr +++ b/src/backend/SCM_API/Server Scripts/SCM_API/GetCode.srvscr @@ -84,8 +84,9 @@ sItemType := oEnterpriseItem:Type; :ELSE; nRowNo := 0; :ENDIF; + oResult:code := MimeDecode(DoProc("Enterprise_Data_Providers.FormProvider.GetXFDDocument", - {oDataSet:Tables[0]:Rows[nRowNo]["FORMID"]}, sUserLang)); + {oDataSet:Tables[0]:Rows[nRowNo]["FORMID"], sUserLang})); oResult:language := "XML"; :EXITCASE; :CASE sItemType == "HTMLFORMCODE" .OR. sItemType == "XFDFORMCODE";