From da6a23e7bcfe52b027224c0f4203c665c744eb32 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Mon, 4 Dec 2017 15:24:27 +0800 Subject: [PATCH] * fix bug #1132. --- module/bug/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/model.php b/module/bug/model.php index 962eebe8f7..8b8b380b32 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -1760,7 +1760,7 @@ class bugModel extends model { $datas = $this->dao->select('pri AS name, COUNT(*) AS value')->from(TABLE_BUG)->where($this->reportCondition())->groupBy('name')->orderBy('value DESC')->fetchAll('name'); if(!$datas) return array(); - foreach($datas as $status => $data) $data->name = $this->lang->bug->report->bugsPerPri->graph->xAxisName . ':' . $data->name; + foreach($datas as $status => $data) $data->name = $this->lang->bug->report->bugsPerPri->graph->xAxisName . ':' . zget($this->lang->bug->priList, $data->name); return $datas; }