diff --git a/module/project/view/task.html.php b/module/project/view/task.html.php index 0698f8c8c7..780f2524d0 100644 --- a/module/project/view/task.html.php +++ b/module/project/view/task.html.php @@ -95,9 +95,8 @@ var browseType = ''; task->priList[$task->pri];?> fromBug != 0) echo "[BUG] "; - else echo "[TASK] "; if(!common::printLink('task', 'view', "task=$task->id", $task->name)) echo $task->name; + if($task->fromBug) echo html::a($this->createLink('bug', 'view', "id=$task->fromBug"), "[BUG#$task->fromBug]", '_blank', "class='bug'"); ?> status;?> >