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;