mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-18 07:29:07 +02:00
* Use FN correctly
This commit is contained in:
parent
7f010191f5
commit
b07f70c6b2
@ -250,7 +250,8 @@ begin
|
|||||||
O:=TJSObject(A[0]);
|
O:=TJSObject(A[0]);
|
||||||
For I:=0 to Fields.Count-1 do
|
For I:=0 to Fields.Count-1 do
|
||||||
begin
|
begin
|
||||||
if O.hasOwnProperty(Fields[i].FieldName) then
|
FN:=Fields[i].FieldName;
|
||||||
|
if O.hasOwnProperty(FN) then
|
||||||
FieldMapper.SetJSONDataForField(Fields[i],Rows[RecordIndex],O[FN]);
|
FieldMapper.SetJSONDataForField(Fields[i],Rows[RecordIndex],O[FN]);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user