branch | tls-sprint |
changeset 1360 | 13ae1121835e |
parent 1182 | 78e4080252be |
child 1398 | 5fe84a5f7035 |
--- a/entities/__init__.py Wed Apr 15 14:07:30 2009 +0200 +++ b/entities/__init__.py Wed Apr 15 14:41:06 2009 +0200 @@ -306,7 +306,7 @@ """ if self.req.use_fckeditor() and self.e_schema.has_metadata(attr, 'format'): if self.has_eid() or '%s_format' % attr in self: - return self.attribute_metadata(attr, 'format') == 'text/html' + return self.attr_metadata(attr, 'format') == 'text/html' return self.req.property_value('ui.default-text-format') == 'text/html' return False