Commit 02b0f79b authored by Jon Pugh's avatar Jon Pugh

Issue #3012687 by Jon Pugh: Allow d() to pass through normal drush alias properties

parent 65c3440f
......@@ -70,8 +70,10 @@ class Provision_Context {
// If $this->name refers to a basic drush alias (not an aegir managed site),
// and the property exists in drush alias, return it.
elseif ($drush_alias = provision_sitealias_get_record($this->name)) { //&& isset($drush_alias[$name])) {
return $drush_alias[$name];
elseif ($drush_alias = provision_sitealias_get_record($this->name)) {
if (isset($drush_alias[$name])) {
return $drush_alias[$name];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment