diff options
| -rw-r--r-- | Mailman/Cgi/confirm.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/Cgi/confirm.py b/Mailman/Cgi/confirm.py index 8fa877975..e5f93f22e 100644 --- a/Mailman/Cgi/confirm.py +++ b/Mailman/Cgi/confirm.py @@ -625,12 +625,13 @@ def heldmsg_prompt(mlist, doc, cookie, id): already been handled by the list administrator.""")) return + # Unpack the data and present the confirmation message + ign, sender, msgsubject, givenreason, ign, ign = data # Now set the language to the sender's preferred. lang = mlist.getMemberLanguage(sender) i18n.set_language(lang) doc.set_language(lang) - # Unpack the data and present the confirmation message - ign, sender, msgsubject, givenreason, ign, ign = data + subject = Utils.websafe(msgsubject) reason = Utils.websafe(givenreason) listname = mlist.real_name |
