From 88f641e2a7651705e3df18c022521850ab27ca63 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Thu, 5 May 2022 13:49:05 +0800 Subject: [PATCH] * Append build branch when project unlink this branch. --- module/build/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/build/control.php b/module/build/control.php index 147c629a53..b918fdf58e 100644 --- a/module/build/control.php +++ b/module/build/control.php @@ -179,6 +179,7 @@ class build extends control { $branchTagOption[$branchInfo->id] = $branchInfo->name . ($branchInfo->status == 'closed' ? ' (' . $this->lang->branch->statusList['closed'] . ')' : ''); } + if(!isset($branchTagOption[$build->branch])) $branchTagOption[$build->branch] = $this->branch->getById($build->branch, 0, 'name'); foreach($productGroups as $product) $products[$product->id] = $product->name;