abelium: fix call to get target status (#6517)

This commit is contained in:
Frédéric Péters 2015-02-16 09:15:43 +01:00
parent 2f51ce871d
commit c9ca13fe9a
1 changed files with 2 additions and 2 deletions

View File

@ -139,9 +139,9 @@ class AbeliumDominoRegisterFamilyWorkflowStatusItem(WorkflowStatusJumpItem):
logger.exception(msg % formdata.get_user())
else:
evo.comment = msg
wf_status = self.get_status()
wf_status = self.get_target_status()
if wf_status:
evo.status = 'wf-%s' % wf_status.id
evo.status = 'wf-%s' % wf_status[0].id
return False
def is_available(self):