Commit 0ae3a372 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Reverted

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22577 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 57ed4dd4
......@@ -1410,7 +1410,7 @@ class Base( CopyContainer,
return
# Try to get a portal_type property (Implementation Dependent)
aq_key = self._aq_key()
if getattr(Base.aq_portal_type, aq_key, None) is not None:
if not Base.aq_portal_type.has_key(aq_key):
self._aq_dynamic('id') # Make sure _aq_dynamic has been called once
if getattr(Base.aq_portal_type[aq_key], accessor_name, None) is not None:
method = getattr(self, accessor_name)
......
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