Commit e30970d6 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Variables econtext and sci were not initialized before reference in notifySuccess() .


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2184 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 900fb5dc
...@@ -223,6 +223,9 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject): ...@@ -223,6 +223,9 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject):
''' '''
Notifies this workflow that an action has taken place. Notifies this workflow that an action has taken place.
''' '''
# initialize variables
econtext = None
sci = None
for t in self.interactions.values(): for t in self.interactions.values():
tdef = None tdef = None
if t.trigger_type == TRIGGER_AUTOMATIC: if t.trigger_type == TRIGGER_AUTOMATIC:
......
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