X-Git-Url: https://git.hcoop.net/bpt/portal.git/blobdiff_plain/5067126dbff556999be5531b8cacbc3f8cb4801b..8812fb4d3cc8fa45e8fd67fd77317a76a2bdd888:/apt.mlt diff --git a/apt.mlt b/apt.mlt index 1cbfde5..df5e26e 100644 --- a/apt.mlt +++ b/apt.mlt @@ -188,10 +188,8 @@ elseif $"mod" <> "" then val oldStatus = #status req; val newStatus = Apt.statusFromInt (Web.stoi ($"status")); Apt.modify {req with node = node, data = $"pkgs", msg = $"msg", status = newStatus}; - if oldStatus <> newStatus then - if not (Apt.notifyMod {old = oldStatus, new = newStatus, changer = Init.getUserName(), req = id}) then - %>

Error sending e-mail notification

<% - end + if not (Apt.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