[ui controller] closes #1333236: configuring boxes crashes with traceback
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 19 Oct 2010 11:59:23 +0200
changeset 6542 f13c47ac9137
parent 6540 91f598ba357b
child 6543 66145280a7e6
[ui controller] closes #1333236: configuring boxes crashes with traceback
web/controller.py
--- a/web/controller.py	Mon Oct 18 14:29:39 2010 +0200
+++ b/web/controller.py	Tue Oct 19 11:59:23 2010 +0200
@@ -91,7 +91,7 @@
             pp = req.vreg['components'].select_or_none('magicsearch', req)
             if pp is not None:
                 return pp.process_query(rql)
-        if 'eid' in req.form:
+        if 'eid' in req.form and not isinstance(req.form['eid'], list):
             return req.eid_rset(req.form['eid'])
         return None