changeset 5198:051c7d3deecf

action.RenamePage: fixed subpages_checked form data
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 10 Oct 2009 10:11:20 +0200
parents df9c332ed6a0
children a3c6d7b7a5dd 3b9b517aecbe
files MoinMoin/action/RenamePage.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/RenamePage.py	Sat Oct 10 00:09:08 2009 +0200
+++ b/MoinMoin/action/RenamePage.py	Sat Oct 10 10:11:20 2009 +0200
@@ -83,7 +83,7 @@
 
             d = {
                 'subpage': subpages,
-                'subpages_checked': ('', 'checked')[self.request.form.get('subpages_checked', '0') == '1'],
+                'subpages_checked': ('', 'checked')[self.request.values.get('subpages_checked', '0') == '1'],
                 'subpage_label': _('Rename all /subpages too?'),
                 'pagename': wikiutil.escape(self.pagename, True),
                 'newname_label': _("New name"),