Skip to content

Commit

Permalink
minor fixes for Zope2: ajax-sitemap
Browse files Browse the repository at this point in the history
svn path=/ZMS/branches/zms4/; revision=5941
  • Loading branch information
zmsdev committed Nov 14, 2020
1 parent aa1472d commit ea9c83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Products/zms/zmsobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ def ajaxGetNode(self, context=None, lang=None, xml_header=True, meta_types=None,
obj_attr['datatype_key'] in _globals.DT_DATETIMES:
v = self.attr(key)
if v:
xml += "<%s>%s</%s>"%(key, standard.toXmlString(self,v).encode('utf-8'), key)
xml += "<%s>%s</%s>"%(key, standard.pystr(standard.toXmlString(self,v),'utf-8'), key)
elif obj_attr['datatype_key'] in _globals.DT_BLOBS:
v = self.attr(key)
if v:
Expand Down

0 comments on commit ea9c83c

Please sign in to comment.