diff --git a/base/src/org/compiere/model/MPeriod.java b/base/src/org/compiere/model/MPeriod.java index 4797a89b01..4fbce5554a 100644 --- a/base/src/org/compiere/model/MPeriod.java +++ b/base/src/org/compiere/model/MPeriod.java @@ -515,7 +515,7 @@ public class MPeriod extends X_C_Period } if (date2.after(last)) { - log.warning ("Automatic Period Control:" + date2 + " after last day - " + first); + log.warning ("Automatic Period Control:" + date2 + " after last day - " + last); return false; } // We are OK