* Adjust code
This commit is contained in:
@@ -709,6 +709,8 @@ class projectModel extends model
|
||||
*/
|
||||
public function getBrotherProjects($project)
|
||||
{
|
||||
if($project->parent == 0) return array($project->id => $project);
|
||||
|
||||
$projectIds = array_filter(explode(',', $project->path));
|
||||
$parentProgram = $this->dao->select('*')->from(TABLE_PROGRAM)
|
||||
->where('id')->in($projectIds)
|
||||
|
||||
Reference in New Issue
Block a user