hooks/notification.py
changeset 8900 010a59e12d89
parent 8898 c570d15dce7b
child 8928 f5b40b66d36e
--- a/hooks/notification.py	Tue Apr 23 15:16:36 2013 +0200
+++ b/hooks/notification.py	Tue Apr 23 15:33:50 2013 +0200
@@ -233,5 +233,5 @@
             # missing required relation
             title = '#%s' % self.entity.eid
         self._cw.transaction_data.setdefault('pendingchanges', []).append(
-            ('delete_entity', (self.entity.eid, self.entity.__regid__, title)))
+            ('delete_entity', (self.entity.eid, self.entity.cw_etype, title)))
         return True