* Modify code #16987.

This commit is contained in:
mayue
2021-12-02 09:44:12 +08:00
parent 07f8a820b0
commit 8c6e0fabfb
+1 -4
View File
@@ -176,9 +176,6 @@ class caselib extends control
$this->session->set('caseList', $this->app->getURI(true), 'qa');
$this->session->set('caselibList', $this->app->getURI(true), 'qa');
/* Display of branch label. */
$showBranch = $this->loadModel('branch')->showBranch(0);
/* Set menu. */
$libID = $this->caselib->saveLibState($libID, $libraries);
setcookie('preCaseLibID', $libID, $this->config->cookieLife, $this->config->webRoot, '', $this->config->cookieSecure, true);
@@ -234,7 +231,7 @@ class caselib extends control
$this->view->moduleName = $moduleID ? $this->tree->getById($moduleID)->name : $this->lang->tree->all;
$this->view->param = $param;
$this->view->setModule = true;
$this->view->showBranch = $showBranch;
$this->view->showBranch = false;
$this->display();
}