web/views/basecontrollers.py
changeset 447 0e52d72104a6
parent 408 a8814ff6824e
child 581 09f87f2c535e
--- a/web/views/basecontrollers.py	Mon Jan 19 19:57:41 2009 +0100
+++ b/web/views/basecontrollers.py	Tue Jan 20 16:29:06 2009 +0100
@@ -235,7 +235,7 @@
                 stream.write(u'<div id="pageContent">')
                 vtitle = self.req.form.get('vtitle')
                 if vtitle:
-                    w(u'<h1 class="vtitle">%s</h1>\n' % vtitle)
+                    stream.write(u'<h1 class="vtitle">%s</h1>\n' % vtitle)
             view.pagination(req, rset, view.w, not view.need_navigation)
             if divid == 'pageContent':
                 stream.write(u'<div id="contentmain">')