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
- %><h3>Error sending e-mail notification</h3><%
- end
+ if not (Apt.notifyMod {old = oldStatus, new = newStatus, changer = Init.getUserName(), req = id}) then
+ %><h3>Error sending e-mail notification</h3><%
end
%><h3>Request modified</h3>
Back to: <a href="apt?cmd=open">open requests</a>, <a href="apt?cmd=list">all requests</a>