web/controller.py
changeset 2680 66472d85d548
parent 2663 2bb628e0cc3b
child 2770 356e9d7c356d
child 4212 ab6573088b4a
--- a/web/controller.py	Tue Aug 04 17:02:18 2009 +0200
+++ b/web/controller.py	Tue Aug 04 17:11:50 2009 +0200
@@ -124,7 +124,7 @@
         redirect_info = set()
         eidtypes = tuple(eidtypes)
         for eid, etype in eidtypes:
-            entity = self.req.eid_rset(eid, etype).get_entity(0, 0)
+            entity = self.req.entity_from_eid(eid, etype)
             path, params = entity.after_deletion_path()
             redirect_info.add( (path, tuple(params.iteritems())) )
             entity.delete()