* testcase: fix error of call undefined variable.

This commit is contained in:
liugang
2023-08-08 14:42:48 +08:00
parent 56e0d1e7e0
commit 3ee96b3ed2
+1 -1
View File
@@ -2616,7 +2616,7 @@ class testcase extends control
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testcase->newScene;
$this->view->moduleOptionMenu = $this->tree->getOptionMenu($productID, $viewType = 'case', $startModuleID = 0, ($branch === 'all' || !isset($branches[$branch])) ? 0 : $branch);
$this->view->sceneOptionMenu = $this->testcase->getSceneMenu($productID, $moduleID, $viewType = 'case', $startSceneID = 0, ($branch === 'all' || !isset($branches[$branch])) ? 0 : $branch);
$this->view->currentModuleID = $$moduleID ? (int)$moduleID : (int)$this->cookie->lastCaseModule;
$this->view->currentModuleID = $moduleID ? (int)$moduleID : (int)$this->cookie->lastCaseModule;
$this->view->currentParentID = (int)$this->cookie->lastCaseScene;
$this->view->product = $product;
$this->view->branch = $branch;