sobjects/notification.py
changeset 3163 edfe43ceaa35
parent 3083 3084bc9ccc64
parent 3110 757d36162235
child 3377 dd9d292b6a6d
--- a/sobjects/notification.py	Wed Sep 02 16:42:07 2009 +0200
+++ b/sobjects/notification.py	Thu Sep 10 08:13:22 2009 +0200
@@ -115,7 +115,7 @@
     def subject(self):
         entity = self.rset.get_entity(self.row or 0, self.col or 0)
         return  u'%s #%s (%s)' % (self.req.__('New %s' % entity.e_schema),
-                                  entity.eid, self.user_login())
+                                  entity.eid, self.user_data['login'])
 
 
 from logilab.common.deprecation import class_renamed, class_moved, deprecated