mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
fix php warning because of missing $workflow
This commit is contained in:
parent
4d931b74e5
commit
f187a80ac5
|
@ -608,6 +608,7 @@ $(document).ready( function() {
|
|||
}
|
||||
} elseif($workflowmode == 'advanced') {
|
||||
if($accessop->maySetWorkflow()) {
|
||||
$workflow = $latestContent->getWorkflow();
|
||||
if(!$workflow) {
|
||||
$items[] = array('link'=>"../out/out.SetWorkflow.php?documentid=".$latestContent->getDocument()->getId()."&version=".$latestContent->getVersion(), 'icon'=>'random', 'label'=>'set_workflow');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user