diff roundup/cgi/templating.py @ 2113:30aeb17e5b04

Boolean HTML templating was broken
author Richard Jones <richard@users.sourceforge.net>
date Thu, 25 Mar 2004 02:06:08 +0000
parents 12a902ea1dcd
children 1ef1b050b785
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Thu Mar 25 00:44:28 2004 +0000
+++ b/roundup/cgi/templating.py	Thu Mar 25 02:06:08 2004 +0000
@@ -1205,7 +1205,7 @@
         '''
         self.view_check()
 
-        if not is_edit_ok():
+        if not self.is_edit_ok():
             return self.plain()
 
         checked = self._value and "checked" or ""

Roundup Issue Tracker: http://roundup-tracker.org/