Merged PR 12625: Fix: Incorrectly creating new training records when canceling a TECN

Fix: Incorrectly creating new training records when canceling a TECN

IDE0100

Updated pipelines to build package .zip for msdeploy.exe

Related work items: #239935
This commit is contained in:
2025-03-11 20:16:18 +01:00
parent 55d3a96228
commit 2119b31764
8 changed files with 162 additions and 38 deletions

View File

@ -414,7 +414,7 @@ public class AuditDMO {
if (audit.OriginatorID == userId) {
result.IsSubmitter = true;
}
if (isAdmin != true) {
if (!isAdmin) {
result.IsAdmin = false;
} else {
result.IsAdmin = true;
@ -424,7 +424,7 @@ public class AuditDMO {
{
result.RedirectToAction = true;
}
if (result.IsAdmin == false && result.IsSubmitter == false) {
if (!result.IsAdmin && !result.IsSubmitter) {
result.RedirectToAction = true;
} else {
result.UserList = GetUserList();