diff --git a/module/bug/control.php b/module/bug/control.php index d22c640d91..5de184e26a 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -632,8 +632,8 @@ class bug extends control } } - /* 如果是影子产品并且对应的项目不是多迭代项目,删掉迭代 Bug 数量报表*/ - /* Unset execution bugs report if the product is shadow product and corresponding project is not multiple. */ + /* 如果是影子产品并且对应的项目不是多迭代项目,删掉迭代 Bug 数量报表。*/ + /* Unset execution bugs report if the product is shadow and corresponding project is not multiple. */ $project = $this->loadModel('project')->getByShadowProduct($productID); if(!empty($project) && !$project->multiple) unset($this->lang->bug->report->charts['bugsPerExecution']); diff --git a/module/bug/ui/report.html.php b/module/bug/ui/report.html.php index e2184eae86..dfeff356da 100644 --- a/module/bug/ui/report.html.php +++ b/module/bug/ui/report.html.php @@ -26,7 +26,7 @@ detailHeader $reports = array(); foreach($lang->bug->report->charts as $key => $label) $reports[] = array('text' => $label, 'value' => $key); -$echarts = array(); +$echarts = array(); foreach($charts as $type => $option) { $chartData = $datas[$type];