Commit b3bfb063 authored by Vincent Pelletier's avatar Vincent Pelletier

Accessors must always get the property on aq_base objects to prevent being...

Accessors must always get the property on aq_base objects to prevent being "poluted" by acquisition.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15164 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d4e6259e
...@@ -2978,7 +2978,7 @@ class TempBase(Base): ...@@ -2978,7 +2978,7 @@ class TempBase(Base):
""" """
Returns the title of this document Returns the title of this document
""" """
return getattr(self, 'title', None) return getattr(aq_base(self), 'title', None)
security.declarePublic('setProperty') security.declarePublic('setProperty')
......
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