B2018-097 handle a null reference when generating an enhanced document step tab.
This commit is contained in:
parent
9cbbd3e9de
commit
e50264ec9a
@ -3735,8 +3735,8 @@ namespace VEPROMS.CSLA.Library
|
||||
if (eds != null && eds.Count == 1 && eds[0].Type == 0)
|
||||
{
|
||||
ItemInfo srcItem = ItemInfo.Get(eds[0].ItemID);
|
||||
return srcItem.MyTab.ToString();
|
||||
|
||||
if (srcItem != null) // B2018-097 handle a null reference
|
||||
return srcItem.MyTab.ToString();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user