Skip to content

Commit 08d74df

Browse files
committed
Fix parse error: #3894
Signed-off-by: Andy Miller <[email protected]>
1 parent 2620e83 commit 08d74df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/src/Grav/Common/Uri.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ protected function createFromEnvironment(array $env)
12681268
}
12691269

12701270
// Build path.
1271-
$request_uri = $env['REQUEST_URI'] ?? '';
1271+
$request_uri = $env['REQUEST_URI'] ?? '/';
12721272
$this->path = rawurldecode(parse_url('http://example.com' . $request_uri, PHP_URL_PATH));
12731273

12741274
// Build query string.

0 commit comments

Comments
 (0)