Added code to handle a transition where the item the transition is going to does not have an active section
Added code to handle the condition where no email address has been defined for a user.
This commit is contained in:
@@ -599,8 +599,11 @@ namespace VEPROMS.CSLA.Library
|
||||
//}
|
||||
if (!forceConvertToText)
|
||||
{
|
||||
SectionConfig sc = traninfo.MyItemToID.ActiveSection.MyConfig as SectionConfig;
|
||||
forceConvertToText = (sc.SubSection_Edit == "N");
|
||||
if (traninfo.MyItemToID.ActiveSection != null)
|
||||
{
|
||||
SectionConfig sc = traninfo.MyItemToID.ActiveSection.MyConfig as SectionConfig;
|
||||
forceConvertToText = (sc.SubSection_Edit == "N");
|
||||
}
|
||||
if (forceConvertToText)
|
||||
{
|
||||
TranFixCount++;
|
||||
|
Reference in New Issue
Block a user