@@ -2516,7 +2516,7 @@ function ReportSectionsToString(AValue: TFPReportSections): string;
lIndex: integer;
begin
Result := '';
- for lIndex := Ord(Low(TFPReportSection)) to Ord(High(TFPReportSection)) do
+ for lIndex := Ord(Low(TFPReportSections)) to Ord(High(TFPReportSections)) do
if TFPReportSection(lIndex) in AValue then