web/views/editcontroller.py
changeset 3369 7b88d12b4ee2
parent 3199 fc63b80ec979
parent 3309 2538daa6651c
child 3377 dd9d292b6a6d
child 3388 b8be8fc77c27
--- a/web/views/editcontroller.py	Thu Sep 17 15:52:46 2009 +0200
+++ b/web/views/editcontroller.py	Tue Sep 22 12:11:12 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)