Safer comparison with null values
This commit is contained in:
parent
d1f31eaf6b
commit
2beb638443
|
@ -1040,7 +1040,7 @@ public class GridField
|
|||
else
|
||||
{
|
||||
String LinkColumnName = Env.getContext(m_vo.ctx, m_vo.WindowNo, m_vo.TabNo, "LinkColumnName");
|
||||
if (LinkColumnName.length() == 0)
|
||||
if (LinkColumnName == null || LinkColumnName.length() == 0)
|
||||
m_parentValue = Boolean.FALSE; // teo_sarca, [ 1673886 ]
|
||||
else
|
||||
m_parentValue = Boolean.valueOf(m_vo.ColumnName.equals(LinkColumnName));
|
||||
|
|
Loading…
Reference in New Issue