Do not cache AD_Image for server.

This commit is contained in:
Heng Sin Low 2008-12-07 01:00:46 +00:00
parent 9e78170f81
commit 0654a5c6a7
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class MImage extends X_AD_Image
if (retValue != null)
return retValue;
retValue = new MImage (ctx, AD_Image_ID, null);
if (retValue.get_ID () != 0)
if (retValue.get_ID () != 0 && Ini.isClient())
s_cache.put (key, retValue);
return retValue;
} // get