From 3e6d59be07ca1affc1ab6f6cac1a0b311402b068 Mon Sep 17 00:00:00 2001 From: zenggang Date: Mon, 26 Sep 2022 00:57:32 +0000 Subject: [PATCH] * Adjust code --- module/testcase/view/browse.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testcase/view/browse.html.php b/module/testcase/view/browse.html.php index d752791099..3e58ba2e19 100644 --- a/module/testcase/view/browse.html.php +++ b/module/testcase/view/browse.html.php @@ -114,6 +114,7 @@ js::set('suiteID', $suiteID); $value) $this->testcase->printCell($value, $case, $users, $branchOption, $modulePairs, $browseType, $useDatatable ? 'datatable' : 'table');?> + product] = $case->product;?> @@ -129,7 +130,6 @@ js::set('suiteID', $suiteID); $misc = $canBatchRun ? "onclick=\"setFormAction('$actionLink', '', '#caseList')\"" : "disabled='disabled'"; echo html::commonButton($lang->testtask->runCase, $misc); - foreach($cases as $case) $caseProductIds[$case->product] = $case->product; $caseProductID = count($caseProductIds) > 1 ? 0 : $productID; $actionLink = $this->createLink('testcase', 'batchEdit', "productID=$caseProductID&branch=$branch"); $misc = $canBatchEdit ? "onclick=\"setFormAction('$actionLink', '', '#caseList')\"" : "disabled='disabled'";