Code

bugfix in boolean templating
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Fri, 18 Oct 2002 03:17:48 +0000 (03:17 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Fri, 18 Oct 2002 03:17:48 +0000 (03:17 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1363 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/cgi/templating.py

index b1754100c5300daeca81712431d1d04e417003fd..cd315297c16a3485c06b20803cc2cec63ad18c22 100644 (file)
@@ -831,7 +831,7 @@ class BooleanHTMLProperty(HTMLProperty):
     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"