* Fix bug#29461.

This commit is contained in:
xieqiyu
2022-11-21 09:43:56 +08:00
parent 8f62d5e947
commit bdb570c00e
4 changed files with 10 additions and 0 deletions
+2
View File
@@ -125,6 +125,7 @@
foreach($setting as $value)
{
if(!$project->hasProduct and $project->model != 'scrum' and $value->id == 'plan') continue;
if(!$project->hasProduct and $value->id == 'branch') continue;
if($value->show)
{
if(common::checkNotCN() and $value->id == 'severity') $value->name = $lang->bug->severity;
@@ -154,6 +155,7 @@
<?php foreach($setting as $value)
{
if(!$project->hasProduct and $project->model != 'scrum' and $value->id == 'plan') continue;
if(!$project->hasProduct and $value->id == 'branch') continue;
$this->bug->printCell($value, $bug, $users, $builds, $branchOption, $modulePairs, $executions, $plans, $stories, $tasks, $useDatatable ? 'datatable' : 'table', $projectPairs);
}
?>