* fix bug: validRate must including closed bugs.

This commit is contained in:
azhi
2013-07-31 14:16:18 +08:00
parent 88913cad8c
commit 6ccf1be34b
+1 -1
View File
@@ -402,7 +402,7 @@ EOT;
{
$bugSummary[$bug->openedBy][$bug->resolution] = empty($bugSummary[$bug->openedBy][$bug->resolution]) ? 1 : $bugSummary[$bug->openedBy][$bug->resolution] + 1;
$bugSummary[$bug->openedBy]['all'] = empty($bugSummary[$bug->openedBy]['all']) ? 1 : $bugSummary[$bug->openedBy]['all'] + 1;
if($bug->status == 'resolved')
if($bug->status == 'resolved' or $bug->status == 'closed')
{
$bugSummary[$bug->openedBy]['resolved'] = empty($bugSummary[$bug->openedBy]['resolved']) ? 1 : $bugSummary[$bug->openedBy]['resolved'] + 1;
}