Commit bb7d5830 authored by Jérome Perrin's avatar Jérome Perrin

getTranslatedId will now return an utf8 string, like all other getTranslated

methods.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15966 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4d9e7fb5
......@@ -2164,7 +2164,7 @@ class Base( CopyContainer,
if ptype_translation_dict is not None:
id_ = self.getId()
if id_ in ptype_translation_dict:
return Message('erp5_ui', ptype_translation_dict[id_])
return str(Message('erp5_ui', ptype_translation_dict[id_]))
security.declareProtected(Permissions.AccessContentsInformation,
......
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