Commit 43ddb2a6 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

Base.py: fix getWorkflowIds.

parent 95f768ae
...@@ -2137,7 +2137,7 @@ class Base( CopyContainer, ...@@ -2137,7 +2137,7 @@ class Base( CopyContainer,
""" """
Returns the list of workflows Returns the list of workflows
""" """
return self.portal_workflow.getWorkflowIds() return self.getPortalObject().portal_workflow.getWorkflowIds()
# Object Database Management # Object Database Management
security.declareProtected( Permissions.ManagePortal, 'upgrade' ) security.declareProtected( Permissions.ManagePortal, 'upgrade' )
......
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