Commit 11e33c6c authored by Nicolas Delaby's avatar Nicolas Delaby

Convert url value in unicode if needed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18881 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fdfe9a5a
......@@ -2097,6 +2097,8 @@ class ListBoxHTMLRendererLine(ListBoxRendererLine):
else:
# JPS-XXX - I think we should not display a URL for objects
# which do not have the View permission
if type(url) == str:
url = unicode(url.decode('utf-8'))
html = u'<a href="%s">%s</a>' % (url, processed_value)
html_list.append((html, original_value, error, editable_field))
......
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