diff options
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 6039f46e3..e5d966bf9 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -581,7 +581,9 @@ class Person(Address, OwnPerms) :          return lbl      def full_label(self): -        values = [unicode(_(self.title))] +        values = [] +        if self.title: +            values = [unicode(_(self.title))]          values += [unicode(getattr(self, attr))                     for attr in ('surname', 'name', 'attached_to')                                 if getattr(self, attr)] | 
