Skip to content

Commit

Permalink
Merge pull request laravel#805 from JacksonIV/bug
Browse files Browse the repository at this point in the history
[5.7] The url helper generates the wrong url, when used in a queue.
  • Loading branch information
taylorotwell authored Sep 13, 2018
2 parents c311c52 + f5d88de commit e6f8fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function __construct(Application $app)
{
$this->app = $app;

if (! $this->app->bound('request')) {
if ($this->app->runningInConsole()) {
$this->setRequestForConsole($this->app);
}

Expand Down

0 comments on commit e6f8fa3

Please sign in to comment.