hooks/notification.py
branchstable
changeset 4584 eef17cfcfa9c
parent 4307 7fba9c34c88f
child 4719 aaed3f813ef8
--- a/hooks/notification.py	Mon Feb 15 15:20:45 2010 +0100
+++ b/hooks/notification.py	Mon Feb 15 15:22:01 2010 +0100
@@ -126,7 +126,7 @@
             rqlsel.append(var)
             rqlrestr.append('X %s %s' % (attr, var))
         rql = 'Any %s WHERE %s' % (','.join(rqlsel), ','.join(rqlrestr))
-        rset = session.execute(rql, {'x': self.entity.eid}, 'x')
+        rset = session.unsafe_execute(rql, {'x': self.entity.eid}, 'x')
         for i, attr in enumerate(attrs):
             oldvalue = rset[0][i]
             newvalue = self.entity[attr]