Fixed null reference
Fixed null reference and logic to support Placekeeper check box
This commit is contained in:
@@ -683,7 +683,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
SectionConfig scfg = (SectionConfig)MyActiveSection.MyConfig;
|
||||
SectionConfig scfg = (SectionConfig)ActiveSection.MyConfig;
|
||||
if (MyDocStyle.StructureStyle.Style == null || scfg == null) return false;
|
||||
bool PlacekeepOption = ((ActiveFormat.PlantFormat.FormatData.PurchaseOptions & E_PurchaseOptions.AutoPlacekeeper) == E_PurchaseOptions.AutoPlacekeeper)
|
||||
&& scfg.Section_Placekeeper.Equals("Y");
|
||||
|
Reference in New Issue
Block a user