* Finish task #85455, #85456.

This commit is contained in:
liumengyi
2023-02-24 06:24:16 +00:00
parent 137dcf1e9a
commit f45c4ccdd4
2 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -506,9 +506,10 @@ class execution extends control
$execution = $this->commonAction($toExecution);
$toExecution = $execution->id;
$project = $this->loadModel('project')->getByID($execution->project);
$branches = $this->execution->getBranches($toExecution);
$tasks = $this->execution->getTasks2Imported($toExecution, $branches);
$executions = $this->execution->getToImport(array_keys($tasks), $execution->type);
$executions = $this->execution->getToImport(array_keys($tasks), $execution->type, $project->model);
unset($executions[$toExecution]);
unset($tasks[$toExecution]);