浏览代码

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

git-svn-id: trunk@38551 -
michael 7 年之前
父节点
当前提交
6d694051be
共有 1 个文件被更改,包括 1 次插入0 次删除
  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