Skip to content

Commit

Permalink
Fix notice
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Apr 5, 2014
1 parent db1707b commit 4d0ea79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/CoreConsole/Commands/SetupFixture.php
Expand Up @@ -69,7 +69,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
}
}

if (empty(Url::getHost())) {
$host = Url::getHost();
if (empty($host)) {
Url::setHost('localhost');
}

Expand Down

0 comments on commit 4d0ea79

Please sign in to comment.