* code for task #6849.

This commit is contained in:
wangyidong
2020-02-06 09:01:41 +08:00
parent 12277bda9c
commit 92f366b767
4 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -341,7 +341,7 @@ class testcase extends control
$this->view->productID = $productID;
$this->view->productName = $this->products[$productID];
$this->view->moduleOptionMenu = $this->tree->getOptionMenu($productID, $viewType = 'case', $startModuleID = 0, $branch);
$this->view->currentModuleID = $currentModuleID ? $currentModuleID : (int)$this->post->lastCaseModule;
$this->view->currentModuleID = $currentModuleID ? $currentModuleID : (int)$this->cookie->lastCaseModule;
$this->view->stories = $stories;
$this->view->caseTitle = $caseTitle;
$this->view->color = $color;