diff MoinMoin/action/DeletePage.py @ 4237:162002d5b148

Replaced some references to request.form with MultiDict-compatible semantics
author Florian Krupicka <florian.krupicka@googlemail.com>
date Sun, 20 Jul 2008 18:49:20 +0200
parents 40acd13fb3d6
children bc5d4e7072ea
line wrap: on
line diff
--- a/MoinMoin/action/DeletePage.py	Sun Jul 20 18:32:36 2008 +0200
+++ b/MoinMoin/action/DeletePage.py	Sun Jul 20 18:49:20 2008 +0200
@@ -54,7 +54,7 @@
 
         delete_subpages = 0
         try:
-            delete_subpages = int(form['delete_subpages'][0])
+            delete_subpages = int(form['delete_subpages'])
         except:
             pass