hooks/notification.py
changeset 6466 43d71dd8a8ec
parent 6142 8bc6eac1fac1
child 6760 2c1fc68ac258
--- a/hooks/notification.py	Tue Oct 12 23:36:35 2010 +0200
+++ b/hooks/notification.py	Tue Oct 12 23:36:54 2010 +0200
@@ -140,7 +140,7 @@
         rset = session.execute(rql, {'x': self.entity.eid})
         for i, attr in enumerate(attrs):
             oldvalue = rset[0][i]
-            newvalue = self.entity[attr]
+            newvalue = self.entity.cw_edited[attr]
             if oldvalue != newvalue:
                 thisentitychanges.add((attr, oldvalue, newvalue))
         if thisentitychanges: