* Finish task #40458.

This commit is contained in:
Yagami
2021-07-26 14:13:25 +08:00
parent 9ec3e847d9
commit 1fe958fd5f
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -642,11 +642,10 @@ class testcase extends control
if($this->app->openApp == 'qa') $this->testcase->setMenu($this->products, $productID, $case->branch);
$this->view->title = "CASE #$case->id $case->title - " . $this->products[$productID];
$this->view->position[] = html::a($this->createLink('testcase', 'browse', "productID=$productID"), $this->products[$productID]);
$this->view->product = $product;
$this->view->branches = $branches;
$this->view->productName = $this->products[$productID];
$this->view->productName = isset($this->products[$productID]) ? $this->products[$productID] : '';
$this->view->branchName = $product->type == 'normal' ? '' : zget($branches, $case->branch, '');
}