Merge branch 'sprint/176_mayue_45544' into 'master'

* Optimize code.

See merge request easycorp/zentaopms!936
This commit is contained in:
朱金勇
2021-12-14 07:43:32 +00:00
+1 -1
View File
@@ -121,7 +121,7 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow
}
else
{
$branch = $branch != 'all' ? $branch : '';
$branch = $branch != 'all' ? $branch : 0;
$createBugLink = $this->createLink('bug', 'create', "productID=$productID&branch=$branch&extra=moduleID=$moduleID");
}
$batchCreateLink = $this->createLink('bug', 'batchCreate', "productID=$productID&branch=$branch&executionID=0&moduleID=$moduleID");