Scenario:
When a workflow is deactivated the assigned sortindex is "missing" in the workflow table.
If you want to move another, still active workflow to this position, a fatal error occurs:
This patch prevents this fatal error by omitting changes to a workflow which does not exist.
Scenario: When a workflow is deactivated the assigned sortindex is "missing" in the workflow table. If you want to move another, still active workflow to this position, a fatal error occurs:
This patch prevents this fatal error by omitting changes to a workflow which does not exist.