* Code for release's branch.

This commit is contained in:
Yagami
2022-12-07 15:29:15 +08:00
parent 50bb73fe57
commit d2044980df
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -43,8 +43,8 @@ class projectreleaseModel extends model
{
foreach($builds as $build)
{
$branch = explode(',', $build->branch);
if(is_array($branch)) $branches += $branch;
$branchIdList = explode(',', $build->branch);
foreach($branchIdList as $branchID) $branches[$branchID] = $branchID;
}
}
+2 -2
View File
@@ -39,8 +39,8 @@ class releaseModel extends model
{
foreach($builds as $build)
{
$branch = explode(',', $build->branch);
if(is_array($branch)) $branches += $branch;
$branchIdList = explode(',', $build->branch);
foreach($branchIdList as $branchID) $branches[$branchID] = $branchID;
}
}