Commit 897f29fd authored by Thomas Bosviel's avatar Thomas Bosviel

Issue #1074966: fix warning in command line mode.

parent 1c0dd8ae
......@@ -317,6 +317,7 @@ class provisionService_dns extends provisionService {
if (!is_null($host)) {
$zone = $this->guess_zone($host);
$sub = $this->guess_zone($host, 'subdomain');
$aliases = array();
}
elseif ($this->context->type == 'site') {
$host = $this->context->uri;
......@@ -364,6 +365,7 @@ class provisionService_dns extends provisionService {
if (!is_null($host)) {
$zone = $this->guess_zone($host);
$sub = $this->guess_zone($host, 'subdomain');
$aliases = array();
}
elseif ($this->context->type == 'site') {
$host = $this->context->uri;
......
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