* Fix bug: Branch error when click header.

This commit is contained in:
xieqiyu
2022-01-18 14:01:46 +08:00
parent 8092c5be0a
commit e35fa62b97

View File

@@ -121,8 +121,8 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow
}
else
{
$branch = $branch != 'all' ? $branch : 0;
$createBugLink = $this->createLink('bug', 'create', "productID=$productID&branch=$branch&extra=moduleID=$moduleID");
$selectedBranch = $branch != 'all' ? $branch : 0;
$createBugLink = $this->createLink('bug', 'create', "productID=$productID&branch=$selectedBranch&extra=moduleID=$moduleID");
}
$batchCreateLink = $this->createLink('bug', 'batchCreate', "productID=$productID&branch=$branch&executionID=0&moduleID=$moduleID");