* fix a bug for #648.

This commit is contained in:
wangyidong
2014-11-27 06:07:02 +00:00
parent 35ca454942
commit 4da87b6926
5 changed files with 29 additions and 24 deletions
+7 -1
View File
@@ -93,7 +93,13 @@ js::set('refresh', $lang->refresh);
<th><?php echo $lang->bug->lblTypeAndSeverity;?></th>
<td>
<div class='input-group'>
<?php echo html::select('type', $lang->bug->typeList, $type, "class='form-control' style='width: 50%'");?>
<?php
/* Remove the unused types. */
unset($lang->bug->typeList['designchange']);
unset($lang->bug->typeList['newfeature']);
unset($lang->bug->typeList['trackthings']);
echo html::select('type', $lang->bug->typeList, $type, "class='form-control' style='width: 50%'");
?>
<?php echo html::select('severity', $lang->bug->severityList, $severity, "class='form-control' style='width: 50%'");?>
</div>
</td>