Commit 9a398d0d authored by wenjie.zheng's avatar wenjie.zheng

patches/WorkflowTool.py: Modify worklfow to wf for the same reason...

parent 989fbc7e
......@@ -982,8 +982,8 @@ def _doActionFor(self, ob, action, wf_id=None, *args, **kw):
case = 1
break
for workflow_id in workflow_list:
workflow = self.getPortalObject().getDefaultModule('Workflow')._getOb(workflow_id)
if workflow.isActionSupported(ob, action, **kw):
wf = self.getPortalObject().getDefaultModule('Workflow')._getOb(workflow_id)
if wf.isActionSupported(ob, action, **kw):
found = 1
case = 2
break
......
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