* finish task #2591.

This commit is contained in:
chenfeiCF
2016-05-24 14:57:51 +08:00
parent 02794d696c
commit bc3c227626
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ class project extends control
$project = $this->commonAction($toProject);
$branches = $this->project->getProjectBranches($toProject);
$tasks = $this->project->getTasks2Imported($branches);
$tasks = $this->project->getTasks2Imported($toProject, $branches);
$projects = $this->project->getProjectsToImport(array_keys($tasks));
unset($projects[$toProject]);
unset($tasks[$toProject]);