* rewrite the export method.

This commit is contained in:
wangchunsheng
2011-05-03 08:20:33 +00:00
parent 617983ec08
commit 2ab1aadd4e
5 changed files with 79 additions and 107 deletions
+4 -4
View File
@@ -835,10 +835,10 @@ class bug extends control
if(isset($relatedBugs[$bug->duplicateBug])) $bug->duplicateBug = $relatedBugs[$bug->duplicateBug];
if(isset($relatedCases[$bug->case])) $bug->case = $relatedCases[$bug->case];
$bug->pri = $bugLang->priList[$bug->pri];
$bug->type = $bugLang->typeList[$bug->type];
$bug->status = $bugLang->statusList[$bug->status];
$bug->resolution = $bugLang->resolutionList[$bug->resolution];
if(isset($bugLang->priList[$bug->pri])) $bug->pri = $bugLang->priList[$bug->pri];
if(isset($bugLang->typeList[$bug->type])) $bug->type = $bugLang->typeList[$bug->type];
if(isset($bugLang->statusList[$bug->status])) $bug->status = $bugLang->statusList[$bug->status];
if(isset($bugLang->resolutionList[$bug->resolution])) $bug->resolution = $bugLang->resolutionList[$bug->resolution];
if(isset($users[$bug->openedBy])) $bug->openedBy = $users[$bug->openedBy];
if(isset($users[$bug->assignedTo])) $bug->assignedTo = $users[$bug->assignedTo];