Skip to content
Snippets Groups Projects
Commit 12fe2b633c0c authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

avoid AssertionError if no 'rql' in form params

parent a8feab1628f6
No related branches found
No related tags found
No related merge requests found
......@@ -19,4 +19,4 @@
def actual_url(self):
if not self.embed:
return self.url
return self._cw.build_url('embed', url=self.url, rql=self._cw.form.get('rql'))
return self._cw.build_url('embed', url=self.url, rql=self._cw.form.get('rql') or u'')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment