Explorar el Código

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

git-svn-id: trunk@38423 -
michael hace 7 años
padre
commit
2f2597341e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;