* fix bug #1837.
This commit is contained in:
@@ -334,7 +334,7 @@ class testtask extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function report($productID, $taskID, $browseType, $branchID, $moduleID = 0, $chartType = 'default')
|
||||
public function report($productID, $taskID, $browseType, $branchID, $moduleID = 0, $chartType = 'pie')
|
||||
{
|
||||
$this->loadModel('report');
|
||||
$this->view->charts = array();
|
||||
|
||||
@@ -510,6 +510,7 @@ class testtaskModel extends model
|
||||
|
||||
if(!$datas) return array();
|
||||
|
||||
$this->app->loadLang('testcase');
|
||||
foreach($datas as $result => $data) $data->name = isset($this->lang->testcase->resultList[$result])? $this->lang->testcase->resultList[$result] : $this->lang->testtask->unexecuted;
|
||||
|
||||
return $datas;
|
||||
|
||||
Reference in New Issue
Block a user