Browse Source

* Fix RequireMetadata

git-svn-id: trunk@41617 -
michael 6 năm trước cách đây
mục cha
commit
0b6b748b15
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      packages/fcl-web/src/restbridge/sqldbrestio.pp

+ 2 - 0
packages/fcl-web/src/restbridge/sqldbrestio.pp

@@ -708,6 +708,8 @@ procedure TRestOutputStreamer.SetOutputOptions(AValue: TRestOutputOptions);
 begin
   if FOutputOptions=AValue then Exit;
   FOutputOptions:=AValue;
+  if RequireMetadata then
+    Include(FOutputOptions,ooMetadata);
 end;
 
 procedure TRestOutputStreamer.CreateErrorContent(aCode: Integer;