changeset 1289:257f0ab00d50

bugfix in boolean templating
author Richard Jones <richard@users.sourceforge.net>
date Fri, 18 Oct 2002 03:17:48 +0000
parents ad8de51d7cd5
children fc451828f971
files roundup/cgi/templating.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Thu Oct 17 06:11:25 2002 +0000
+++ b/roundup/cgi/templating.py	Fri Oct 18 03:17:48 2002 +0000
@@ -831,7 +831,7 @@
     def plain(self):
         ''' Render a "plain" representation of the property
         '''
-        if self.value is None:
+        if self._value is None:
             return ''
         return self._value and "Yes" or "No"
 

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