Potential bug fix

This commit is contained in:
armenrz 2007-06-25 10:15:20 +00:00
parent 91686301cf
commit 38d01f7b94
1 changed files with 5 additions and 0 deletions

View File

@ -73,12 +73,17 @@ public class MSysConfig extends X_AD_SysConfig
{
s_log.log(Level.SEVERE, "getValue", e);
}
if (str == null)
return null;
return (str.trim());
}
public static int getIntValue(String Name)
{
String s = getValue(Name);
if (s == null)
return 0;
if (s.length() == 0)
return 0;
//