fix getting workflow log when triggering a transition

This commit is contained in:
Uwe Steinmann 2020-02-29 15:19:11 +01:00
parent 111d433c8a
commit 13e27496e0

View File

@ -79,7 +79,7 @@ $(document).ready(function() {
$action = $transition->getAction();
$currentstate = $latestContent->getWorkflowState();
$wkflog = $latestContent->getWorkflowLog();
$wkflog = array_shift($latestContent->getWorkflowLog());
$workflow = $latestContent->getWorkflow();
$msg = "The document is currently in state: ".$currentstate->getName()."<br />";