Commit 3fc0dc85 authored by wenjie.zheng's avatar wenjie.zheng

WorkflowTool.py: fix a return error.

parent 1aedf2a9
...@@ -203,7 +203,7 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool): ...@@ -203,7 +203,7 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
portal_type_id = None portal_type_id = None
if portal_type_id is None: if portal_type_id is None:
workflow_list return workflow_list
portal_type = self.getPortalObject().portal_types._getOb(portal_type_id, None) portal_type = self.getPortalObject().portal_types._getOb(portal_type_id, 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