diff --git a/module/testtask/control.php b/module/testtask/control.php index 3a7a5376bc..dd0111d1b5 100644 --- a/module/testtask/control.php +++ b/module/testtask/control.php @@ -127,7 +127,7 @@ class testtask extends control $this->view->branch = $branch; $this->view->beginTime = $beginTime; $this->view->endTime = $endTime; - $this->view->product = $this->product->getByID($productID); + $this->view->product = $product; $this->display(); } diff --git a/module/testtask/view/browse.html.php b/module/testtask/view/browse.html.php index d93b1daafb..8bdc44d378 100644 --- a/module/testtask/view/browse.html.php +++ b/module/testtask/view/browse.html.php @@ -72,7 +72,9 @@ $status = strtolower($status);