Fixed a Dummy Transition Bug
This commit is contained in:
parent
46bd77f7ed
commit
f5aaaf2b77
@ -746,7 +746,8 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
// Walk up active parents until the parent is not an item
|
// Walk up active parents until the parent is not an item
|
||||||
ItemInfo tmp = this;
|
ItemInfo tmp = this;
|
||||||
while (tmp.ActiveParent.GetType() != typeof(DocVersionInfo)) tmp = (ItemInfo)tmp.ActiveParent;
|
while (tmp.ActiveParent != null && tmp.ActiveParent.GetType() != typeof(DocVersionInfo))
|
||||||
|
tmp = (ItemInfo)tmp.ActiveParent;
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user