web/views/editcontroller.py
branch3.5
changeset 3309 2538daa6651c
parent 3194 650637d4d764
child 3369 7b88d12b4ee2
child 3631 6176ef2f6488
--- a/web/views/editcontroller.py	Fri Sep 18 09:16:40 2009 +0200
+++ b/web/views/editcontroller.py	Fri Sep 18 09:17:20 2009 +0200
@@ -51,7 +51,8 @@
         try:
             methodname = form.pop('__method', None)
             for eid in req.edited_eids():
-                formparams = req.extract_entity_params(eid)
+                # __type and eid
+                formparams = req.extract_entity_params(eid, minparams=2)
                 if methodname is not None:
                     entity = req.entity_from_eid(eid)
                     method = getattr(entity, methodname)