From 101fb3e67bbb1efc15cc8d4609fddc04ec973814 Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Tue, 26 Nov 2013 15:56:17 +0100
Subject: [PATCH] - fixed: cronjob to deploy all

---
 shellscripts/cron_deployment.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shellscripts/cron_deployment.php b/shellscripts/cron_deployment.php
index 51cd39fa..46510c08 100644
--- a/shellscripts/cron_deployment.php
+++ b/shellscripts/cron_deployment.php
@@ -21,7 +21,7 @@ foreach ($oPrj1->getProjects() as $sPrj) {
     foreach ($oPrj->getActivePhases() as $sPhase) {
         $aTmp=$oPrj->getPhaseInfos($sPhase);
         echo "$sPhase: ";
-        if (array_key_exists("version", $aTmp)){
+        if (array_key_exists("version", $aTmp["onhold"])){
                 echo $oPrj->deploy($sPhase);
         } else {
                 echo "SKIP - es ist nichts in der Queue<br>\n";
-- 
GitLab