IDEMPIERE-2334 Allow zoom from URL / fix NPE
This commit is contained in:
parent
1e010fd936
commit
a99bdc15d6
|
@ -310,9 +310,11 @@ public class AdempiereWebUI extends Window implements EventListener<Event>, IWeb
|
||||||
|
|
||||||
private String getPrmString(String prm) {
|
private String getPrmString(String prm) {
|
||||||
String retValue = "";
|
String retValue = "";
|
||||||
String[] strs = m_URLParameters.get(prm);
|
if (m_URLParameters != null) {
|
||||||
if (strs != null && strs.length == 1 && strs[0] != null)
|
String[] strs = m_URLParameters.get(prm);
|
||||||
retValue = strs[0];
|
if (strs != null && strs.length == 1 && strs[0] != null)
|
||||||
|
retValue = strs[0];
|
||||||
|
}
|
||||||
return retValue;
|
return retValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue