changeset 2680 | 66472d85d548 |
parent 2650 | 18aec79ec3a3 |
child 2819 | b864288fd316 |
child 2998 | da622f980470 |
child 3384 | f76a38731bc1 |
--- a/web/views/editcontroller.py Tue Aug 04 17:02:18 2009 +0200 +++ b/web/views/editcontroller.py Tue Aug 04 17:11:50 2009 +0200 @@ -53,7 +53,7 @@ for eid in req.edited_eids(): formparams = req.extract_entity_params(eid) if methodname is not None: - entity = req.eid_rset(eid).get_entity(0, 0) + entity = req.entity_from_eid(eid) method = getattr(entity, methodname) method(formparams) eid = self.edit_entity(formparams)