Commit bde36f8a authored by Aurel's avatar Aurel

fix typo again


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5410 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 549dd5a5
...@@ -1091,10 +1091,10 @@ class PortalTypeWorkflowChainTemplateItem(BaseTemplateItem): ...@@ -1091,10 +1091,10 @@ class PortalTypeWorkflowChainTemplateItem(BaseTemplateItem):
wflist = key.split(' | ') wflist = key.split(' | ')
if len(wflist) == 2: if len(wflist) == 2:
portal_type = wflist[0] portal_type = wflist[0]
worflow = wflist[1] workflow = wflist[1]
else: else:
portal_type = wflist[0] portal_type = wflist[0]
worflow = '' workflow = ''
if workflow not in chain_dict['chain_%s' % portal_type]: if workflow not in chain_dict['chain_%s' % portal_type]:
raise raise
if self._objects.has_key(portal_type): if self._objects.has_key(portal_type):
......
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