Commit 1f5f98f0 authored by Sebastien Robin's avatar Sebastien Robin

getObjectList returned always None


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3858 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1ec9153c
...@@ -92,7 +92,7 @@ class Message: ...@@ -92,7 +92,7 @@ class Message:
return activity_tool.unrestrictedTraverse(self.object_path) return activity_tool.unrestrictedTraverse(self.object_path)
def getObjectList(self, activity_tool): def getObjectList(self, activity_tool):
if self.object_list is not None: if self.object_list is None:
try: try:
expand_method_id = self.activity_kw['expand_method_id'] expand_method_id = self.activity_kw['expand_method_id']
obj = self.getObject(activity_tool) obj = self.getObject(activity_tool)
......
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