B2017-152 Don't crash if the administrator has the database locked

This commit is contained in:
Rich 2017-07-20 15:47:34 +00:00
parent 00b90f3713
commit 54a50c8436

View File

@ -1177,7 +1177,7 @@ namespace VEPROMS
public SessionInfo MySessionInfo
{
get {
if (_MySessionInfo == null)
if (_MySessionInfo == null && MyParent != null)// B2017-152 Don't crash if MySessionInfo is null
_MySessionInfo = MyParent.MySessionInfo;
return _MySessionInfo;
}