X-Git-Url: http://git.hcoop.net/hcoop/portal.git/blobdiff_plain/6b8b767b19126e3dae16613dff8b15604763ac5d..0b4db14f7226c2e419320aa1a5140056038ba0c3:/sec.mlt diff --git a/sec.mlt b/sec.mlt index 286e68b..4bd6097 100644 --- a/sec.mlt +++ b/sec.mlt @@ -201,10 +201,8 @@ elseif $"mod" <> "" then val oldStatus = #status req; val newStatus = Sec.Req.statusFromInt (Web.stoi ($"status")); Sec.Req.modify {req with node = nodeNum, data = $"req", msg = $"msg", status = newStatus}; - if oldStatus <> newStatus then - if not (Sec.Req.notifyMod {old = oldStatus, new = newStatus, changer = Init.getUserName(), req = id}) then - %>

Error sending e-mail notification

<% - end + if not (Sec.Req.notifyMod {old = oldStatus, new = newStatus, changer = Init.getUserName(), req = id}) then + %>

Error sending e-mail notification

<% end %>

Request modified

Back to: open requests, all requests @@ -338,7 +336,9 @@ switch rules of <% end end%> - + <% end %>