web/views/basecontrollers.py
branchtls-sprint
changeset 1467 972517be96dc
parent 1419 7ff24154351d
child 1527 c8ca1782e252
--- a/web/views/basecontrollers.py	Fri Apr 24 09:06:56 2009 +0200
+++ b/web/views/basecontrollers.py	Fri Apr 24 09:20:52 2009 +0200
@@ -551,7 +551,7 @@
     def publish(self, rset=None):
         # XXX this allow anybody with access to an cubicweb application to use it as a mail relay
         body = self.req.form['mailbody']
-        subject = self.req.form['mailsubject']
+        subject = self.req.form['subject']
         for recipient in self.recipients():
             text = body % recipient.as_email_context()
             self.sendmail(recipient.get_email(), subject, text)