* Code for bug#26428.

This commit is contained in:
xieqiyu
2023-02-13 16:06:20 +08:00
parent ae947ff614
commit 19c28c527e
+1
View File
@@ -209,6 +209,7 @@ if($this->app->tab == 'project') js::set('objectID', $projectID);
$hasCustomSeverity = false;
foreach($lang->bug->severityList as $severityKey => $severityValue)
{
if(empty($severityValue)) unset($lang->bug->severityList[$severityKey]);
if(!empty($severityKey) and (string)$severityKey != (string)$severityValue)
{
$hasCustomSeverity = true;