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'";