Commit 4cd7c288 authored by Ivan Tyagov's avatar Ivan Tyagov

Revert r39223 ass due to different Zope PT's implementation we require explicit conversion.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39226 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ad9292f9
......@@ -88,6 +88,8 @@ portal_type = context.getTranslatedPortalType()\n
website = context.REQUEST.get(\'current_web_site\', context.getWebSiteValue())\n
\n
popup = context.Document_getPopupInfo(website) or \'\'\n
if isinstance(popup, unicode):\n
popup = popup.encode(\'utf-8\')\n
\n
found = context.Base_showFoundText()\n
owner_html = getOwnerHTML(context) or \'\'\n
......@@ -191,6 +193,8 @@ return html\n
<string>title</string>
<string>portal_type</string>
<string>popup</string>
<string>isinstance</string>
<string>unicode</string>
<string>found</string>
<string>owner_html</string>
<string>date_renderer</string>
......
886
\ No newline at end of file
887
\ No newline at end of file
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