Commit 75839bd5 authored by wenjie.zheng's avatar wenjie.zheng

InteractionWorkflow.py: minor improvement.

parent 16c712f2
......@@ -122,7 +122,7 @@ class InteractionWorkflow(IdAsReferenceMixin("", "prefix"), Workflow):
break
if vdef is not None:
if vdef.getTypeInfo().getId() == 'Variable':
if vdef.getPortalType() == 'Variable':
return 1
return 0
return 0
......
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