Explorar o código

* Fix bug #33407, duplicate variable when loading report twice

git-svn-id: trunk@38551 -
michael %!s(int64=7) %!d(string=hai) anos
pai
achega
6d694051be
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/fcl-report/src/fpreport.pp

+ 1 - 0
packages/fcl-report/src/fpreport.pp

@@ -8026,6 +8026,7 @@ begin
       E := AReader.FindChild('Variables');
       if Assigned(E) then
       begin
+        Variables.Clear;
         AReader.PushElement(E);
         for i := 0 to AReader.ChildCount-1 do
         begin