mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 12:11:19 +00:00
fix getting workflow log when triggering a transition
This commit is contained in:
parent
111d433c8a
commit
13e27496e0
|
@ -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 />";
|
||||
|
|
Loading…
Reference in New Issue
Block a user