From 6cd709dd8358b6c63b04680993cb9dd733ee9a10 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Fri, 8 Mar 2024 14:03:29 +0800 Subject: [PATCH] * Modify paramter type error. --- module/testcase/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testcase/control.php b/module/testcase/control.php index 22aa48ea51..37ee8baab1 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -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;