Browse Source

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

git-svn-id: trunk@38551 -
michael 7 years ago
parent
commit
6d694051be
1 changed files with 1 additions and 0 deletions
  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