hooks/syncsession.py
changeset 3404 9cb6b0cc2a7c
parent 3376 f5c69485381f
child 3411 c867a096e11c
--- a/hooks/syncsession.py	Wed Sep 23 11:03:38 2009 +0200
+++ b/hooks/syncsession.py	Wed Sep 23 11:03:57 2009 +0200
@@ -197,7 +197,8 @@
                 # if for_user was set, delete has already been handled
                 break
         else:
-            _DelCWPropertyOp(session, cwpropdict=session.vreg['propertyvalues'], key=entity.pkey)
+            _DelCWPropertyOp(session, cwpropdict=session.vreg['propertyvalues'],
+                             key=self.entity.pkey)
 
 
 class AddForUserRelationHook(SyncSessionHook):