guard against objects with missing 'signed' attribute
This commit is contained in:
parent
f3590e014d
commit
1a12add8db
|
@ -54,7 +54,7 @@ class DmsFile(Item):
|
|||
def Title(self):
|
||||
if self.incomingmail:
|
||||
return _(u"Incoming mail")
|
||||
elif self.signed:
|
||||
elif hasattr(self, 'signed') and self.signed:
|
||||
return _(u"Signed version")
|
||||
else:
|
||||
return self.title
|
||||
|
|
Reference in New Issue