small bugfix for parse_url
This commit is contained in:
parent
7c6e9b3643
commit
d2c43c70b0
@ -96,7 +96,7 @@ class TemplateDocument extends Document {
|
||||
"name" => $settings->getSiteName(),
|
||||
"url" => [
|
||||
"base" => $settings->getBaseUrl(),
|
||||
"path" => $urlParts["path"],
|
||||
"path" => $urlParts["path"] ?? "" ,
|
||||
"query" => $urlParts["query"] ?? "",
|
||||
"fragment" => $urlParts["fragment"] ?? ""
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user