diff --git a/module/testcase/control.php b/module/testcase/control.php index 324f8dfada..92001d6921 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -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(); } diff --git a/module/testcase/view/create.html.php b/module/testcase/view/create.html.php index c22b1b4bb9..f1e8b2c1e4 100644 --- a/module/testcase/view/create.html.php +++ b/module/testcase/view/create.html.php @@ -73,7 +73,7 @@ foreach(explode(',', $config->testcase->create->requiredFields) as $field)