Fixed logic to find external transition when attempting to delete a procedure

This commit is contained in:
Rich 2015-05-29 00:18:09 +00:00
parent 1463ec8853
commit 4f16b9ca67

View File

@ -312,6 +312,7 @@ namespace VEPROMS.CSLA.Library
TransitionInfoList tmp = DataPortal.Fetch<TransitionInfoList>(new ExternalTransitionsToChildrenCriteria(itemID));
TransitionInfo.AddList(tmp);
tmp.AddEvents();
if (tmp.Count == 0) return GetExternalTransitions(itemID);
return tmp;
}
catch (Exception ex)