diff --git a/module/testtask/control.php b/module/testtask/control.php index 13b49d0fa6..56ea1e83f3 100644 --- a/module/testtask/control.php +++ b/module/testtask/control.php @@ -334,7 +334,7 @@ class testtask extends control * @access public * @return void */ - public function report($productID, $taskID, $browseType, $branchID, $moduleID = 0, $chartType = '') + public function report($productID, $taskID, $browseType, $branchID, $moduleID = 0, $chartType = 'default') { $this->loadModel('report'); $this->view->charts = array(); diff --git a/module/testtask/view/report.html.php b/module/testtask/view/report.html.php index 22869b0f79..1852b3459b 100644 --- a/module/testtask/view/report.html.php +++ b/module/testtask/view/report.html.php @@ -46,6 +46,7 @@ " : "") . $typeName, '', "class='btn btn-link " . ($type == $chartType ? 'btn-active-line' : '') . "'")?> + app->loadLang('testcase');?>