release portal3 into production
[hcoop/portal.git] / list.mlt
index 45ec388..5cd5ce5 100644 (file)
--- a/list.mlt
+++ b/list.mlt
@@ -87,10 +87,8 @@ elseif $"mod" <> "" then
        val oldStatus = #status req;
        val newStatus = MailingList.statusFromInt (Web.stoi ($"status"));
        MailingList.modify {req with data = $"dom", msg = $"msg", status = newStatus};
-       if oldStatus <> newStatus then
-               if not (MailingList.notifyMod (oldStatus, newStatus, Init.getUserName(), id)) then
-                       %><h3>Error sending e-mail notification</h3><%
-               end
+       if not (MailingList.notifyMod (oldStatus, newStatus, Init.getUserName(), id)) then
+               %><h3>Error sending e-mail notification</h3><%
        end
        %><h3>Request modified</h3>
        Back to: <a href="list?cmd=open">open requests</a>, <a href="list?cmd=list">all requests</a>
@@ -120,7 +118,7 @@ elseif $"mod" <> "" then
 
 <form action="list" method="post">
 <table class="blanks">
-<tr> <td>List name:</td> <td><input name="req"></td> </tr>
+<tr> <td>List name:</td> <td><input name="req" required="required"></td> </tr>
 <tr> <td>Reason:</td> <td><textarea name="msg" rows="5" cols="80" wrap="soft"></textarea></td> </tr>
 <tr> <td><input type="submit" value="Request"></td> </tr>
 </table>