diff --git a/module/testcase/control.php b/module/testcase/control.php
index 46c906ed9f..b03f074c90 100644
--- a/module/testcase/control.php
+++ b/module/testcase/control.php
@@ -153,10 +153,10 @@ class testcase extends control
/**
* Create a test case.
*
- * @param int $productID
- * @param int $moduleID
+ * @param int $productID
+ * @param int $moduleID
* @param string $from
- * @param int $param
+ * @param int $param
* @access public
* @return void
*/
diff --git a/module/testcase/view/browse.html.php b/module/testcase/view/browse.html.php
index 3e48171014..8829307611 100644
--- a/module/testcase/view/browse.html.php
+++ b/module/testcase/view/browse.html.php
@@ -86,7 +86,7 @@ var moduleID = '';
testcase->statusList[$case->status];?> |
product&moduleID=$case->module&testcaseID=$case->id", $lang->copy);
+ common::printLink('testcase', 'create', "productID=$case->product&moduleID=$case->module&from=testcase¶m=$case->id", $lang->copy);
common::printLink('testcase', 'edit', "caseID=$case->id", $lang->testcase->buttonEdit);
common::printLink('testcase', 'delete', "caseID=$case->id", $lang->delete, 'hiddenwin');
common::printLink('testtask', 'runCase', "runID=0&caseID=$case->id&version=$case->version", $this->app->loadLang('testtask')->testtask->runCase, '', 'class="runcase"');
diff --git a/module/testcase/view/view.html.php b/module/testcase/view/view.html.php
index 15c0aea7ff..8e1ab27b83 100644
--- a/module/testcase/view/view.html.php
+++ b/module/testcase/view/view.html.php
@@ -23,7 +23,7 @@
common::printLink('testtask', 'results', "runID=0&extras=caseID=$case->id,version=$case->version", $lang->testtask->results, '', 'class="results"');
if($case->lastResult == 'fail') common::printLink('bug', 'create', "product=$case->product&extra=caseID=$case->id,version=$case->version,runID=", $lang->testtask->createBug);
common::printLink('testcase', 'edit', "caseID=$case->id", $lang->testcase->buttonEdit);
- common::printLink('testcase', 'create', "productID=$case->product&moduleID=$case->module&from=testcase&testcaseID=$case->id", $lang->copy);
+ common::printLink('testcase', 'create', "productID=$case->product&moduleID=$case->module&from=testcase¶m=$case->id", $lang->copy);
common::printLink('testcase', 'delete', "caseID=$case->id", $lang->delete, 'hiddenwin');
}
echo html::a($browseLink, $lang->goback);
|