Commit 43e93555 authored by wenjie.zheng's avatar wenjie.zheng

Workflow.py: fix a confusion between list and dict.

parent 811d251d
......@@ -206,7 +206,7 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject):
'''
if name == self.getStateVariable():
return 1
vdef = self.objectValues(portal_type='Variable').get(name, None)
vdef = self.getVariableValueList().get(name, None)
if vdef is None:
return 0
return 1
......
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