IDEMPIERE-491 Caching data can generate problem. Fixed a backward compatibility issue.

This commit is contained in:
Heng Sin Low 2012-11-27 22:40:46 +08:00
parent a7d41c111c
commit a44a3a17df
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ public class CCache<K,V> implements CacheInterface, Map<K, V>, Serializable
@Override
public int reset(int recordId) {
if (recordId < 0)
if (recordId <= 0)
return reset();
V removed = cache.remove(recordId);