mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-27 09:48:55 +02:00
Tweak on yaml parser. Added option for ssh port.
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ class Mage_Config
|
||||
$config = $this->getEnvironment();
|
||||
|
||||
if (isset($config[$type]) && isset($config[$type][$stage])) {
|
||||
$tasks = (array) $config[$type][$stage];
|
||||
$tasks = ($config[$type][$stage] ? (array) $config[$type][$stage] : array());
|
||||
}
|
||||
|
||||
return $tasks;
|
||||
|
||||
Reference in New Issue
Block a user