aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-06-10 22:01:51 +0200
committerRalf Jung <post@ralfj.de>2019-06-10 22:01:51 +0200
commit4348ac442749ad4b68dca81c223d8ba8070e654d (patch)
tree05edd9845bb0dd07ee984b7cb7bacb9f8a45378e /Mailman
parentb7476d1c86053181cb38aa3acd3fc718fde55979 (diff)
downloadmailman2-4348ac442749ad4b68dca81c223d8ba8070e654d.tar.gz
mailman2-4348ac442749ad4b68dca81c223d8ba8070e654d.tar.xz
mailman2-4348ac442749ad4b68dca81c223d8ba8070e654d.zip
fix computing the form hash when there is no CAPTCHA
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Cgi/listinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Cgi/listinfo.py b/Mailman/Cgi/listinfo.py
index 909e401e..6872613e 100644
--- a/Mailman/Cgi/listinfo.py
+++ b/Mailman/Cgi/listinfo.py
@@ -228,7 +228,7 @@ def list_listinfo(mlist, lang):
"""<tr><td BGCOLOR="#dddddd">%s<br>%s</td><td>%s</td></tr>"""
% (pre_question, captcha_question, captcha_box))
else:
- captcha_idx = 0 # just to have something to include in the hash below
+ captcha_idx = "" # just to have something to include in the hash below
# fill form
replacements['<mm-subscribe-form-start>'] += (
'<input type="hidden" name="sub_form_token" value="%s:%s:%s">\n'