web/views/primary.py
branchstable
changeset 5560 b9a8e7109370
parent 5520 2d7f135846ee
child 5614 37b31a7b8e74
--- a/web/views/primary.py	Thu May 20 20:45:28 2010 +0200
+++ b/web/views/primary.py	Fri May 21 08:45:25 2010 +0200
@@ -176,7 +176,8 @@
                     warn('[3.5] box views should now be defined as a 4-uple (label, rset, vid, dispctrl), '
                          'please update %s' % self.__class__.__name__,
                          DeprecationWarning)
-                    label, rset, vid  = box
+                    label, rset, vid = box
+                    dispctrl = {}
                 self.w(u'<div class="sideBox">')
                 self.wview(vid, rset, title=label, initargs={'dispctrl': dispctrl})
                 self.w(u'</div>')