diff --git a/module/task/control.php b/module/task/control.php index 8cb9eedb1b..d8b8523d93 100755 --- a/module/task/control.php +++ b/module/task/control.php @@ -342,6 +342,10 @@ class task extends control { $taskLink = $this->createLink('my', 'work', 'mode=task'); } + elseif($this->app->tab == 'project') + { + $taskLink = $this->createLink('project', 'execution', "browseType=all&projectID={$execution->project}"); + } else { $taskLink = $this->createLink('execution', 'browse', "executionID=$executionID");