mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
return list of approvals even if empty
This commit is contained in:
parent
fb6a552381
commit
5cb159ca82
|
@ -40,11 +40,11 @@ class SeedDMS_View_Tasks extends SeedDMS_Bootstrap_Style {
|
|||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$workflowmode = $this->params['workflowmode'];
|
||||
if($workflowmode == 'traditional')
|
||||
$tasks['review'] = array();
|
||||
elseif($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval')
|
||||
if($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') {
|
||||
$tasks['approval'] = array();
|
||||
elseif($workflowmode == 'advanced')
|
||||
if($workflowmode == 'traditional')
|
||||
$tasks['review'] = array();
|
||||
} elseif($workflowmode == 'advanced')
|
||||
$tasks['workflow'] = array();
|
||||
|
||||
if($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') {
|
||||
|
|
Loading…
Reference in New Issue
Block a user