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

patches/StateChangeInfoPatch.py: deploy getReference.

parent e070b1a1
......@@ -35,7 +35,7 @@ def setWorkflowVariable(self, **kw):
Allows to go through security checking and let a
script allows to modify a workflow variable
"""
history = self.object.workflow_history[self.workflow.id]
history = self.object.workflow_history[self.workflow.getReference()]
history[-1].update(kw)
history._p_changed = 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