[dbapi] update renamed argument
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 27 Jul 2010 09:06:55 +0200
changeset 6015 ee76e8e72776
parent 6013 8ca424bc393b
child 6020 6f3b4f20ee9f
[dbapi] update renamed argument
web/views/editcontroller.py
--- a/web/views/editcontroller.py	Mon Jul 26 12:15:11 2010 +0200
+++ b/web/views/editcontroller.py	Tue Jul 27 09:06:55 2010 +0200
@@ -115,7 +115,7 @@
         form = req.form
         # so we're able to know the main entity from the repository side
         if '__maineid' in form:
-            req.set_shared_data('__maineid', form['__maineid'], querydata=True)
+            req.set_shared_data('__maineid', form['__maineid'], txdata=True)
         # no specific action, generic edition
         self._to_create = req.data['eidmap'] = {}
         self._pending_fields = req.data['pendingfields'] = set()