diff --git a/org.adempiere.base/src/org/compiere/report/FinReport.java b/org.adempiere.base/src/org/compiere/report/FinReport.java index c796e7404b..a45a9e4374 100644 --- a/org.adempiere.base/src/org/compiere/report/FinReport.java +++ b/org.adempiere.base/src/org/compiere/report/FinReport.java @@ -1110,6 +1110,9 @@ public class FinReport extends SvrProcess private String getLineIDs (int fromID, int toID) { if (log.isLoggable(Level.FINEST)) log.finest("From=" + fromID + " To=" + toID); + if (fromID == toID) { + return String.valueOf(fromID); + } int firstPA_ReportLine_ID = 0; int lastPA_ReportLine_ID = 0;