This commit is contained in:
tianshujie98
2020-12-14 10:30:27 +08:00
parent e168ba7313
commit 6db741c5da
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -446,7 +446,7 @@ class project extends control
$toProject = $project->id;
$branches = $this->project->getExecutionBranches($toProject);
$tasks = $this->project->getTasks2Imported($toProject, $branches);
$projects = $this->project->getExecutionsToImport(array_keys($tasks));
$projects = $this->project->getExecutionsToImport(array_keys($tasks), $project->type);
unset($projects[$toProject]);
unset($tasks[$toProject]);