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:
Rich committed 2015-02-19 17:43:23 +00:00
1 parent cbc3df3023
commit 7ff6a6a80e
4 files changed
+59 -34

No files matched your search

@@ -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++;