Pārlūkot izejas kodu

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

git-svn-id: trunk@38551 -
michael 7 gadi atpakaļ
vecāks
revīzija
6d694051be
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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