* fix a bug for #648.
This commit is contained in:
@@ -88,7 +88,18 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild);
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->bug->type;?></th>
|
||||
<td><?php echo html::select('type', $lang->bug->typeList, $bug->type, "class='form-control'");?></td>
|
||||
<td>
|
||||
<?php
|
||||
/**
|
||||
* Remove designchange, newfeature, trackings from the typeList, because should be tracked in story or task.
|
||||
* These thress types if upgrade from bugfree2.x.
|
||||
*/
|
||||
if($bug->type != 'designchange') unset($lang->bug->typeList['designchange']);
|
||||
if($bug->type != 'newfeature') unset($lang->bug->typeList['newfeature']);
|
||||
if($bug->type != 'trackthings') unset($lang->bug->typeList['trackthings']);
|
||||
echo html::select('type', $lang->bug->typeList, $bug->type, "class='form-control'");
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->bug->severity;?></th>
|
||||
|
||||
Reference in New Issue
Block a user