Skip to content

Commit 226aa64

Browse files
pfrenssenweitzman
authored andcommitted
Fix undefined index error (#3590)
1 parent 2342ecf commit 226aa64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Boot/DrupalBoot8.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function bootstrapDrupalSiteValidate()
118118
$parsed_url = parse_url($uri);
119119

120120
// Account for users who omit the http:// prefix.
121-
if (!$parsed_url['scheme']) {
121+
if (empty($parsed_url['scheme'])) {
122122
$this->uri = 'http://' . $this->uri;
123123
$parsed_url = parse_url($this->uri);
124124
}

0 commit comments

Comments
 (0)