Commit e4f6640b authored by Fabien Morin's avatar Fabien Morin

reverse the condition which was bad, sorry


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38867 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 70e9b32f
...@@ -254,7 +254,7 @@ def DCWorkflowDefinition_getWorklistVariableMatchDict(self, info, ...@@ -254,7 +254,7 @@ def DCWorkflowDefinition_getWorklistVariableMatchDict(self, info,
variable_match['portal_type'] = list(portal_type_intersection) variable_match['portal_type'] = list(portal_type_intersection)
variable_match.setdefault('portal_type', portal_type_list) variable_match.setdefault('portal_type', portal_type_list)
if len(variable_match.get('portal_type', [])): if len(variable_match.get('portal_type', [])) == 0:
continue continue
is_permitted_worklist = 0 is_permitted_worklist = 0
if guard is None: if guard is None:
......
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