diff --git a/templates/ktcore/workflow/editWorkflow.smarty b/templates/ktcore/workflow/editWorkflow.smarty index faa0cb6..8055c73 100644 --- a/templates/ktcore/workflow/editWorkflow.smarty +++ b/templates/ktcore/workflow/editWorkflow.smarty @@ -22,23 +22,24 @@ workflow. To modify items, either select them from the overview below, or use the "Workflow" menu on the left to create new ones.{/i18n}

-{if (empty($aStates))} -

This workflow does not define any states. Please use the -Workflow menu (on the left) to create new states.

+{if (empty($workflow_info.states))} +

This workflow does not define any states.

{else}