Commit 0141e08c authored by Vincent Pelletier's avatar Vincent Pelletier

Replace '&' in URLs by standard '&'.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10109 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aed3827c
......@@ -337,12 +337,12 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget,
(field.get_value('allow_jump') == 1):
# Keep the selection name in the URL
if REQUEST.get('selection_name') is not None:
selection_name_html = '&selection_name=%s&selection_index=%s' % \
selection_name_html = '&selection_name=%s&selection_index=%s' % \
(REQUEST.get('selection_name'), REQUEST.get('selection_index'))
else:
selection_name_html = ''
# Generate plan link
html_string += '<a href="%s/%s?field_id=%s&form_id=%s%s">' \
html_string += '<a href="%s/%s?field_id=%s&amp;form_id=%s%s">' \
'<img src="%s/images/jump.png" />' \
'</a>' % \
(here.absolute_url(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment