diff --git a/org.adempiere.base/src/org/compiere/util/CCache.java b/org.adempiere.base/src/org/compiere/util/CCache.java index c477a86271..cffe2f4ded 100644 --- a/org.adempiere.base/src/org/compiere/util/CCache.java +++ b/org.adempiere.base/src/org/compiere/util/CCache.java @@ -388,7 +388,7 @@ public class CCache implements CacheInterface, Map, Serializable @Override public int reset(int recordId) { - if (recordId < 0) + if (recordId <= 0) return reset(); V removed = cache.remove(recordId);