changeset 3446:2ed53a3185de

widget.browser: fixed wrong called page object
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 30 Mar 2008 09:45:58 +0200
parents 1d31ce271b94
children e5543417b366
files MoinMoin/widget/browser.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/widget/browser.py	Sun Mar 30 09:44:58 2008 +0200
+++ b/MoinMoin/widget/browser.py	Sun Mar 30 09:45:58 2008 +0200
@@ -97,7 +97,7 @@
         fmt = self.request.formatter
 
         result = []
-        result.append(fmt.rawHTML('<form action="%s/%s" method="GET" name="%sform">' % (self.request.getScriptname(), wikiutil.quoteWikinameURL(self.request.page.page_name), self.data_id)))
+        result.append(fmt.rawHTML('<form action="%s/%s" method="GET" name="%sform">' % (self.request.getScriptname(), wikiutil.quoteWikinameURL(fmt.page.page_name), self.data_id)))
         result.append(fmt.div(1))
 
         havefilters = False