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(),
|
"name" => $settings->getSiteName(),
|
||||||
"url" => [
|
"url" => [
|
||||||
"base" => $settings->getBaseUrl(),
|
"base" => $settings->getBaseUrl(),
|
||||||
"path" => $urlParts["path"],
|
"path" => $urlParts["path"] ?? "" ,
|
||||||
"query" => $urlParts["query"] ?? "",
|
"query" => $urlParts["query"] ?? "",
|
||||||
"fragment" => $urlParts["fragment"] ?? ""
|
"fragment" => $urlParts["fragment"] ?? ""
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user