Potential bug fix
This commit is contained in:
parent
91686301cf
commit
38d01f7b94
|
@ -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;
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue