From: richard Date: Fri, 18 Oct 2002 03:17:48 +0000 (+0000) Subject: bugfix in boolean templating X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5727b70b17db4c51c728c09df00b9d22ff4eb4bc;p=roundup.git bugfix in boolean templating git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1363 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/cgi/templating.py b/roundup/cgi/templating.py index b175410..cd31529 100644 --- a/roundup/cgi/templating.py +++ b/roundup/cgi/templating.py @@ -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"