diff --git a/config/lang/de.json b/config/lang/de.json index 383392806bbbb526b0f81f94d91ff320d2faded2..2456673f2a5ba77cf7bd0abdacbd34ea0fabc45e 100644 --- a/config/lang/de.json +++ b/config/lang/de.json @@ -191,7 +191,7 @@ "page-login-username": "Benutzername", "page-login-password": "Passwort", - "page-overview-no-phase": "Es wurde noch keine URL in keiner der Phasen definiert", + "page-overview-no-phase": "Es wurde noch keine der Phasen aktiviert.", "page-overview-phase-infos": "Für dieses Projekt sind folgende Phasen konfiguriert:", "page-setup-info": "Einstellungen der Web GUI", diff --git a/config/lang/en.json b/config/lang/en.json index 6aab4dc923cb1ce485fc063391b526a3d44dc9fc..0cdc4aa309cb89825299d8db62034d7b40dc1be2 100644 --- a/config/lang/en.json +++ b/config/lang/en.json @@ -192,7 +192,7 @@ "page-login-username": "Username", "page-login-password": "Password", - "page-overview-no-phase": "This project has no active phase. No url was entered to any phase.", + "page-overview-no-phase": "This project has no active phase.", "page-overview-phase-infos": "This project has these phases:", "page-setup-info": "Setup", diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php index 80dbfac1f5e7f7a9701d083b4a28e091bd683e0c..90df7470d17a186d9d166ddd7244fa04701d9580 100644 --- a/public_html/deployment/classes/project.class.php +++ b/public_html/deployment/classes/project.class.php @@ -3014,8 +3014,7 @@ class project extends base { $bActivePhase = $this->isActivePhase($sPhase); $sUrl = array_key_exists("url", $this->_aPrjConfig["phases"][$sPhase]) ? $this->_aPrjConfig["phases"][$sPhase]["url"] : ""; $sDeploymethod = array_key_exists("deploymethod", $this->_aPrjConfig["phases"][$sPhase]) ? $this->_aPrjConfig["phases"][$sPhase]["deploymethod"] : ""; - $sDeployhosts = array_key_exists("hosts", $this->_aPrjConfig["phases"][$sPhase]) ? $this->_aPrjConfig["phases"][$sPhase]["hosts"] : "none"; - + $sDeployhosts = array_key_exists("hosts", $this->_aPrjConfig["phases"][$sPhase]) ? $this->_aPrjConfig["phases"][$sPhase]["hosts"] : ""; $sDeploytimes = array_key_exists("deploytimes", $this->_aPrjConfig["phases"][$sPhase]) ? $this->_aPrjConfig["phases"][$sPhase]["deploytimes"] : ""; $sDivId4PhaseSettings='divSettings'.$sPhase;