* Modify paramter type error.

This commit is contained in:
liumengyi
2024-03-08 14:03:29 +08:00
parent 3ddcb667f1
commit 6cd709dd83
+1 -1
View File
@@ -334,7 +334,7 @@ class testcase extends control
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testcase->batchCreate;
$this->view->productID = $productID;
$this->view->productName = $this->products[$productID];
$this->view->moduleOptionMenu = $this->tree->getOptionMenu($productID, 'case', 0, $branch === 'all' ? 0 : $branch);
$this->view->moduleOptionMenu = $this->tree->getOptionMenu($productID, 'case', 0, $branch === 'all' ? '0' : $branch);
$this->view->currentSceneID = 0;
$this->view->branch = $branch;
$this->view->needReview = $this->testcase->forceNotReview() == true ? 0 : 1;