* Fix bug 16696.

This commit is contained in:
songchenxuan
2021-11-24 10:51:49 +08:00
parent fc0e55a418
commit 7fc99d65fd
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1040,7 +1040,7 @@ class testtask extends control
$this->config->testcase->search['params']['module']['values'] = $this->loadModel('tree')->getOptionMenu($productID, $viewType = 'case');
$this->config->testcase->search['actionURL'] = inlink('linkcase', "taskID=$taskID&type=$type&param=$param");
$this->config->testcase->search['style'] = 'simple';
if($this->session->currentProductType == 'normal')
if($task->productType == 'normal')
{
unset($this->config->testcase->search['fields']['branch']);
unset($this->config->testcase->search['params']['branch']);