changeset 3030:a875b3c6dabc

action.edit: bug fix for missing #format (Page for send_page) (port from 1.6)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 03 Feb 2008 18:04:41 +0100
parents 9c12ceee3115
children 29b51bbecc2c
files MoinMoin/action/edit.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/edit.py	Sun Feb 03 18:01:50 2008 +0100
+++ b/MoinMoin/action/edit.py	Sun Feb 03 18:04:41 2008 +0100
@@ -182,6 +182,8 @@
         backto = request.form.get('backto', [None])[0]
         if backto:
             pg = Page(request, backto)
+        else:
+            pg = Page(request, pagename)
 
         # sets revision number to default for further actions
         request.rev = 0