diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php index 2e81ddc61a05f98de6ba055a8341cd3817a388bd..497eba09985c8dbc46bd233fd53a9e911def507c 100644 --- a/public_html/deployment/classes/project.class.php +++ b/public_html/deployment/classes/project.class.php @@ -868,7 +868,9 @@ class project extends base { } /** * get deploy and queue infos for all phases - * @return type + * It build up a subkey "progress" with info if a build is queued + * or an installation of a new package is going on + * @return array */ public function getAllPhaseInfos() { @@ -891,8 +893,9 @@ class project extends base { $aDataPhase = $this->_aData["phases"][$sPhase]; foreach (array_keys($this->getPlaces()) as $sPlace) { if ( - array_key_exists($sPlace, $aDataPhase) - && array_key_exists('version', $aDataPhase[$sPlace]) + $sPlace!=='onhold' + && array_key_exists($sPlace, $aDataPhase) + // && array_key_exists('version', $aDataPhase[$sPlace]) ) { if($bFirstVersion && !$bHasDifferentVersions && $bFirstVersion!==$aDataPhase[$sPlace]['version']){ $bHasDifferentVersions=true;