diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Process/NWFProcessBLL.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Process/NWFProcessBLL.cs index 7afb775dc..4c6fbd376 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Process/NWFProcessBLL.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Process/NWFProcessBLL.cs @@ -872,7 +872,7 @@ namespace Learun.Application.WorkFlow var parentDepart = departmentIBLL.GetEntity(selfDepart.F_ParentId); if (parentDepart != null) { - if (!string.IsNullOrEmpty(selfDepart.F_SchoolMasterId)) + if (!string.IsNullOrEmpty(parentDepart.F_SchoolMasterId)) { schoolMasterId = parentDepart.F_SchoolMasterId; } @@ -914,7 +914,7 @@ namespace Learun.Application.WorkFlow var parentDepart = departmentIBLL.GetEntity(selfDepart2.F_ParentId); if (parentDepart != null) { - if (!string.IsNullOrEmpty(selfDepart2.F_Manager)) + if (!string.IsNullOrEmpty(parentDepart.F_Manager)) { deptMasterId = parentDepart.F_Manager; }