fix strict php warning

This commit is contained in:
Uwe Steinmann 2021-05-25 09:02:59 +02:00
parent 1a5a5ad6c8
commit 1132bd134e

View File

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