* Change the configuration $config->datatable->{$module$method}->showModule to $config->$module->$method->showModule.

This commit is contained in:
liugang
2023-07-12 13:30:07 +08:00
parent 0673cdc9be
commit fb89ba37c3
7 changed files with 11 additions and 13 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ class testcase extends control
$searchProducts = $this->product->getPairs('', 0, '', 'all');
$this->testcase->buildSearchForm($productID, $searchProducts, $queryID, $actionURL, $projectID);
$showModule = !empty($this->config->datatable->testcaseBrowse->showModule) ? $this->config->datatable->testcaseBrowse->showModule : '';
$showModule = !empty($this->config->testcase->browse->showModule) ? $this->config->testcase->browse->showModule : '';
/* Get module tree.*/
if($projectID and empty($productID))