Commit 9bf95f96 authored by Yoshinori Okuji's avatar Yoshinori Okuji

The attribute check must be done for o instead of self for the recursion.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5149 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 55e70722
......@@ -112,7 +112,7 @@ class ActiveObject(ExtensionClass.Base):
self.flushActivity(invoke=invoke, **kw)
if hasattr(aq_base(self), 'objectValues'):
for o in self.objectValues():
if hasattr(aq_base(self), 'recursiveFlushActivity'):
if hasattr(aq_base(o), 'recursiveFlushActivity'):
o.recursiveFlushActivity(invoke=invoke, **kw)
security.declareProtected( permissions.View, 'hasActivity' )
......
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