Skip to content

Commit

Permalink
fixed not passing language to formprovider
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoe committed Jul 26, 2024
1 parent e1ba29a commit 1999308
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/backend/SCM_API/Server Scripts/SCM_API/GetCode.srvscr
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 1999308

Please sign in to comment.