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 a10328c61..74903d5fb 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 @@ -773,7 +773,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; } @@ -815,7 +815,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; }