diff --git a/expert/field.py b/expert/field.py index 476a871..7ee201a 100644 --- a/expert/field.py +++ b/expert/field.py @@ -184,7 +184,7 @@ class RelationField(Field): def getDisplayValue(self, row): value = self.getValue(row) - if value is None: + if not value: return dict(title=u'', url=u'') nv = row.parent.context.view.nodeView return dict(title=getattr(value, self.displayAttribute),