This commit is contained in:
hufangzhou
2021-07-14 17:51:06 +08:00
parent a2340a1a91
commit 089977624b
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -129,6 +129,7 @@ class project extends control
foreach($projects as $project)
{
$project->parent = $this->program->getTopByID($project->parent);
$project->parent = isset($programs[$project->parent]) ? $project->parent : $project->id;
$orderedProjects[$project->parent][] = $project;
unset($projects[$project->id]);
}