diff --git a/module/bug/control.php b/module/bug/control.php
index b5f540484f..113317472e 100644
--- a/module/bug/control.php
+++ b/module/bug/control.php
@@ -156,6 +156,7 @@ class bug extends control
$taskID = 0;
$storyID = 0;
$buildID = 0;
+ $caseID = 0;
$runID = 0;
$title = '';
$steps = '';
@@ -185,6 +186,7 @@ class bug extends control
$this->view->taskID = $taskID;
$this->view->storyID = $storyID;
$this->view->buildID = $buildID;
+ $this->view->caseID = $caseID;
$this->view->title = $title;
$this->view->steps = $steps;
$this->display();
diff --git a/module/bug/view/create.html.php b/module/bug/view/create.html.php
index 14187e3d42..7c7dfcaa21 100644
--- a/module/bug/view/create.html.php
+++ b/module/bug/view/create.html.php
@@ -170,7 +170,7 @@ function loadProjectBuilds(projectID)
|
-
+
|
diff --git a/module/bug/view/view.html.php b/module/bug/view/view.html.php
index 8bc5b18739..1aeefa94e4 100644
--- a/module/bug/view/view.html.php
+++ b/module/bug/view/view.html.php
@@ -190,7 +190,7 @@
| bug->case;?> |
- caseTitle)) echo html::a($this->createLink('testcase', 'view', "caseID=$bug->case"), "#$bug->case $linkBugTitle", '_blank');?> |
+ caseTitle)) echo html::a($this->createLink('testcase', 'view', "caseID=$bug->case"), "#$bug->case $bug->caseTitle", '_blank');?> |
diff --git a/module/project/view/bug.html.php b/module/project/view/bug.html.php
index 968719d235..d0499c4d3f 100644
--- a/module/project/view/bug.html.php
+++ b/module/project/view/bug.html.php
@@ -26,7 +26,7 @@
-
id", $lang->bug->create);?>
+
id", $lang->bug->create);?>
diff --git a/module/testtask/view/view.html.php b/module/testtask/view/view.html.php
index 090c91a066..16df22aea7 100644
--- a/module/testtask/view/view.html.php
+++ b/module/testtask/view/view.html.php
@@ -110,7 +110,7 @@ function checkall(checker)
id", $lang->testtask->runCase, '', 'class="iframe"');
common::printLink('testtask', 'results', "id=$run->id", $lang->testtask->results, '', 'class="iframe"');
- common::printLink('bug', 'create', "product=$productID&extra=projectID=$task->project,buildID=$task->build,runID=$run->id", $lang->testtask->createBug);
+ common::printLink('bug', 'create', "product=$productID&extra=projectID=$task->project,buildID=$task->build,caseID=$run->case,runID=$run->id", $lang->testtask->createBug);
common::printLink('testtask', 'unlinkcase', "id=$run->id", $lang->testtask->unlinkCase, 'hiddenwin');
?>