This commit is contained in:
tanghucheng
2023-01-05 12:29:49 +08:00
parent 69cd509235
commit bd2bdbefe4
2 changed files with 17 additions and 3 deletions
+3
View File
@@ -449,6 +449,7 @@ class testcase extends control
$keywords = '';
$steps = array();
$color = '';
$auto = '';
/* If testcaseID large than 0, use this testcase as template. */
if($testcaseID > 0)
@@ -464,6 +465,7 @@ class testcase extends control
$keywords = $testcase->keywords;
$steps = $testcase->steps;
$color = $testcase->color;
$auto = $testcase->auto;
}
/* If bugID large than 0, use this bug as template. */
@@ -586,6 +588,7 @@ class testcase extends control
$this->view->branch = $branch;
$this->view->product = $product;
$this->view->branches = $branches;
$this->view->auto = $auto;
$this->display();
}