Skip to content

Commit

Permalink
Fix undefined index error (#3590)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrenssen authored and weitzman committed Jun 22, 2018
1 parent 2342ecf commit 226aa64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Boot/DrupalBoot8.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function bootstrapDrupalSiteValidate()
$parsed_url = parse_url($uri);

// Account for users who omit the http:// prefix.
if (!$parsed_url['scheme']) {
if (empty($parsed_url['scheme'])) {
$this->uri = 'http://' . $this->uri;
$parsed_url = parse_url($this->uri);
}
Expand Down

0 comments on commit 226aa64

Please sign in to comment.