Commit be90266e authored by Nicolas Dumazet's avatar Nicolas Dumazet

be symmetric since we delete using _delOb, set with _setOb in order not to

unregister the object from its parent _objects attribute


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43004 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 686daaa0
......@@ -3904,7 +3904,7 @@ class Base( CopyContainer,
except AttributeError:
return
id = self.getId()
parent._delObject(id)
parent._delOb(id)
parent._setOb(id, self)
security.declareProtected(Permissions.DeletePortalContent,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment