Merge branch 'master' into 'feedback_1796'

# Conflicts:
#   module/testcase/js/browse.js
This commit is contained in:
曾刚
2022-12-30 05:45:51 +00:00
1347 changed files with 944985 additions and 1063 deletions

View File

@@ -338,7 +338,7 @@ class executionModel extends model
$multipleProducts = $this->loadModel('product')->getMultiBranchPairs();
foreach($_POST['products'] as $index => $productID)
{
if(isset($multipleProducts[$productID]) and empty($_POST['branch'][$index]))
if(isset($multipleProducts[$productID]) and !isset($_POST['branch'][$index]))
{
dao::$errors[] = $this->lang->project->emptyBranch;
return false;
@@ -534,7 +534,7 @@ class executionModel extends model
$multipleProducts = $this->loadModel('product')->getMultiBranchPairs();
foreach($_POST['products'] as $index => $productID)
{
if(isset($multipleProducts[$productID]) and empty($_POST['branch'][$index]))
if(isset($multipleProducts[$productID]) and !isset($_POST['branch'][$index]))
{
dao::$errors[] = $this->lang->project->emptyBranch;
return false;