From 055df23f69c82e7f4838fffae1ad117609693a99 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Wed, 22 Dec 2021 17:32:44 +0800 Subject: [PATCH] *Finish task #46100. --- module/testcase/view/batchedit.html.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/testcase/view/batchedit.html.php b/module/testcase/view/batchedit.html.php index 40762934a6..da3355dbb1 100644 --- a/module/testcase/view/batchedit.html.php +++ b/module/testcase/view/batchedit.html.php @@ -73,10 +73,9 @@ { $caseProductID = $cases[$caseID]->product; $product = $products[$caseProductID]; - $branchTagOption = isset($branches) ? $branches : array('' => ''); + $branchTagOption = array(); if($product->type != 'normal') { - //$branchTagOption = isset($productBranches[$product->id]) ? $productBranches[$product->id] : $branchTagOption; $branches = $this->loadModel('branch')->getList($product->id, 0, 'all'); foreach($branches as $branchInfo) {