hooks/notification.py
changeset 3422 089c4b71ac16
parent 3418 7b49fa7e942d
child 3427 78dfef45ee48
--- a/hooks/notification.py	Wed Sep 23 12:30:56 2009 +0200
+++ b/hooks/notification.py	Wed Sep 23 12:31:18 2009 +0200
@@ -20,7 +20,7 @@
         view = self.view
         if view.cw_rset is not None and not view.cw_rset:
             return # entity added and deleted in the same transaction (cache effect)
-        if view.cw_rset and self.session.deleted_in_transaction(view.cw_rset[cw_rset.cw_row or 0][cw_rset.cw_col or 0]):
+        if view.cw_rset and self.session.deleted_in_transaction(view.cw_rset[view.cw_row or 0][view.cw_col or 0]):
             return # entity added and deleted in the same transaction
         self.view.render_and_send(**getattr(self, 'viewargs', {}))