init $tasks to empty array

This commit is contained in:
Uwe Steinmann 2019-12-20 10:54:42 +01:00
parent 849351e58b
commit 16ca3dc96a

View File

@ -40,6 +40,7 @@ class SeedDMS_View_Tasks extends SeedDMS_Bootstrap_Style {
$dms = $this->params['dms'];
$user = $this->params['user'];
$workflowmode = $this->params['workflowmode'];
$tasks = array();
if($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') {
$tasks['approval'] = array();
if($workflowmode == 'traditional')