branch | tls-sprint |
changeset 1795 | abffc24f93c5 |
parent 1760 | 6b97d286eb5a |
child 1798 | cc86fe8efaaa |
--- a/web/views/basecontrollers.py Wed May 13 15:55:47 2009 +0200 +++ b/web/views/basecontrollers.py Wed May 13 16:07:44 2009 +0200 @@ -399,7 +399,8 @@ rset = self.req.execute('Any X,N WHERE X eid %%(x)s, X %s N' % rtype, {'x': eid}, 'x') entity = rset.get_entity(0, 0) - return (success, args, entity.printable_value(rtype)) + value = entity.printable_value(rtype) + return (success, args, value or self.req._('not specified')) else: return (success, args, None)