Browse Source

* Validate report before running it (bug ID 33334), fix typo

git-svn-id: trunk@38423 -
michael 7 năm trước cách đây
mục cha
commit
2f2597341e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/fcl-report/src/fpreport.pp

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

@@ -7834,7 +7834,7 @@ begin
   if PageCount=0 then
     aErrors.Add(SErrNeedPages);
   For I:=0 to PageCount-1 do
-    Pages[1].Validate(aErrors);
+    Pages[i].Validate(aErrors);
 end;
 
 procedure TFPCustomReport.Validate;