web/views/editcontroller.py
changeset 4007 91d11fda4aa0
parent 3998 94cc7cad3d2d
child 4045 f4a52abb6f4f
--- a/web/views/editcontroller.py	Mon Dec 07 06:51:33 2009 -0800
+++ b/web/views/editcontroller.py	Mon Dec 07 07:10:40 2009 -0800
@@ -70,6 +70,7 @@
         req = self._cw
         self.errors = []
         self.relations_rql = []
+        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)