Fixed issue getting the parent’s config values
This commit is contained in:
@@ -67,9 +67,9 @@ namespace VEPROMS.CSLA.Library
|
||||
SectionInfo sect = _Section != null ? _Section.MySectionInfo : _SectionInfo;
|
||||
while (sect.ActiveParent.IsSection)
|
||||
{
|
||||
sect = (sect.ActiveParent as SectionInfo) ?? SectionInfo.Get((sect.ActiveParent as ItemInfo).ItemID);
|
||||
retval = sect.SectionConfig.GetValue(args.Group, args.Item);
|
||||
if (retval != string.Empty) return retval;
|
||||
sect = (sect.ActiveParent as SectionInfo) ?? SectionInfo.Get((sect.ActiveParent as ItemInfo).ItemID);
|
||||
}
|
||||
// There may be levels of procedures, i.e. procedures within a procedure.
|
||||
ProcedureInfo proc = sect.MyProcedure;
|
||||
|
Reference in New Issue
Block a user