do now show tasks in menu if workflow is turned off completly

This commit is contained in:
Uwe Steinmann 2020-04-06 21:26:29 +02:00
parent 82209c1ee4
commit 82a60956ca

View File

@ -136,7 +136,10 @@ class SeedDMS_View_Tasks extends SeedDMS_Bootstrap_Style {
$dms = $this->params['dms'];
$user = $this->params['user'];
$tasks = $this->__myTasks();
if(!$tasks = $this->__myTasks()) {
echo '';
return;
}
$content = '';
$content .= " <ul id=\"main-menu-tasks\" class=\"nav pull-right\">\n";