mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 12:11:19 +00:00
do now show tasks in menu if workflow is turned off completly
This commit is contained in:
parent
82209c1ee4
commit
82a60956ca
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue
Block a user