Skip to content

Commit

Permalink
Fixed wrong data type for NullableTGUID (#651)
Browse files Browse the repository at this point in the history
Co-authored-by: Francisco Zanini <[email protected]>
  • Loading branch information
zaniniflz and Francisco Zanini authored Mar 28, 2023
1 parent 487cf8e commit 317d97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/MVCFramework.ActiveRecord.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2039,7 +2039,7 @@ function TMVCActiveRecord.MapNullableTValueToParam(aValue: TValue; const aParam:
begin
if not aValue.AsType<NullableTGUID>().HasValue then
begin
aParam.DataType := TFieldType.ftCurrency;
aParam.DataType := TFieldType.ftGuid;
aParam.Clear;
Exit(True);
end
Expand Down

0 comments on commit 317d97c

Please sign in to comment.