Send ticket change notifications even if status doesn't change
[bpt/portal.git] / quota.mlt
index 8d32896..f99441a 100644 (file)
--- a/quota.mlt
+++ b/quota.mlt
@@ -114,10 +114,8 @@ elseif $"mod" <> "" then
        val oldStatus = #status req;
        val newStatus = Quota.statusFromInt (Web.stoi ($"status"));
        Quota.modify {req with data = $"req", msg = $"msg", status = newStatus};
-       if oldStatus <> newStatus then
-               if not (Quota.notifyMod (oldStatus, newStatus, Init.getUserName(), id)) then
-                       %><h3>Error sending e-mail notification</h3><%
-               end
+       if not (Quota.notifyMod (oldStatus, newStatus, Init.getUserName(), id)) then
+               %><h3>Error sending e-mail notification</h3><%
        end
        %><h3>Request modified</h3>
        Back to: <a href="?cmd=open">open requests</a>, <a href="?cmd=list">all requests</a>