diff --git a/public_html/appmonitor/index.php b/public_html/appmonitor/index.php index 6c94072dfe4596a5b18331731dd053c70235b1f8..93f84d1e75166aacd3d84d5a5894f48c4c43f713 100644 --- a/public_html/appmonitor/index.php +++ b/public_html/appmonitor/index.php @@ -86,8 +86,14 @@ $iProjectCount=count($oPrj->getProjects()); $iInProgress=0; $iInQueue=0; foreach ($oPrj->getProjects() as $sPrj) { - $oPrj->getPhases(); + $oPrj2=new project($sPrj); + $aProgress=$oPrj2->getProgress(); + /* + * so ist irgendwas anders ... er initialisiert das Projekt nicht + * + $oPrj->setProjectById($sPrj); $aProgress=$oPrj->getProgress(); + */ $iInProgress+=$aProgress['inprogress'] ? 1 : 0; $iInQueue+=$aProgress['hasQueue'] ? 1 : 0; }