Fixed issue getting the parent’s config values

This commit is contained in:
2014-10-29 14:58:33 +00:00
parent 9e565cfd05
commit 290d2c8abf
2 changed files with 2 additions and 2 deletions

View File

@@ -73,9 +73,9 @@ namespace VEPROMS.CSLA.Library
ProcedureInfo proc = _Procedure != null ? _Procedure.MyProcedureInfo : _ProcedureInfo;
while (proc.ActiveParent.IsProcedure)
{
proc = (ProcedureInfo)proc.ActiveParent;
retval = proc.ProcedureConfig.GetValue(args.Group, args.Item);
if (retval != string.Empty) return retval;
proc = (ProcedureInfo)proc.ActiveParent;
}
DocVersionInfo docVersion = proc.ActiveParent as DocVersionInfo;
if (docVersion == null) return string.Empty;