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 db7e380a1..a2bf609f0 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 @@ -812,7 +812,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; } @@ -856,7 +856,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; }