Planner: Subprojekte aus Mantis sind jetzt im Planner wählbar

This commit is contained in:
Andreas Österreicher
2014-09-25 06:52:24 +00:00
parent 6905247631
commit 05070a7608
+14
View File
@@ -265,6 +265,20 @@ class mantis extends basis_db
$obj->issue_project->id = $row->id;
$this->result[] = $obj;
if(isset($row->subprojects))
{
foreach($row->subprojects as $row_sub)
{
$obj = new mantis();
$obj->issue_project = new stdclass();
$obj->issue_project->name = $row_sub->name;
$obj->issue_project->id = $row_sub->id;
$this->result[] = $obj;
}
}
}
return true;
}