From c9baf6fdddd3d29c7ef5e67f67c12ba794b802c5 Mon Sep 17 00:00:00 2001 From: mayue Date: Thu, 18 Nov 2021 10:04:16 +0800 Subject: [PATCH] * Fix bug #16332. --- module/bug/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/model.php b/module/bug/model.php index 997097fafb..8207008e50 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -2752,7 +2752,7 @@ class bugModel extends model break; case 'title': $showBranch = isset($this->config->bug->browse->showBranch) ? $this->config->bug->browse->showBranch : 1; - if($bug->branch and isset($branches[$bug->branch]) and $showBranch) echo "{$branches[$bug->branch]} "; + if(isset($branches[$bug->branch]) and $showBranch) echo "{$branches[$bug->branch]} "; if($bug->module and isset($modulePairs[$bug->module])) echo "{$modulePairs[$bug->module]} "; echo $canView ? html::a($bugLink, $bug->title, null, "style='color: $bug->color'") : "{$bug->title}"; break;