bug fix: keep textDescription empty if no text resource present
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@4030 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
5dacf19a5d
commit
183d0cafb5
1 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,8 @@ class ConceptView(BaseConceptView):
|
||||||
|
|
||||||
@Lazy
|
@Lazy
|
||||||
def renderedTextDescription(self):
|
def renderedTextDescription(self):
|
||||||
|
if self.textDescription is None:
|
||||||
|
return u''
|
||||||
return self.renderDescription(self.textDescription)
|
return self.renderDescription(self.textDescription)
|
||||||
|
|
||||||
@Lazy
|
@Lazy
|
||||||
|
|
Loading…
Add table
Reference in a new issue