* Fix bug.

This commit is contained in:
tianshujie98
2021-03-17 11:33:04 +08:00
parent 013f00cd14
commit a81650c22d
+1 -1
View File
@@ -125,7 +125,7 @@ class project extends control
foreach($projects as $project)
{
if($project->parent and $project->parent != $programID) continue;
$project->parent = $this->program->getTopByID();
$project->parent = $this->program->getTopByID($project->parent);
$orderedProjects[] = $project;
unset($projects[$project->id]);
}