small bugfix for parse_url
This commit is contained in:
1 parent
7c6e9b3643
commit
d2c43c70b0
1 file changed
+1
-1
@@ -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"] ?? ""
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user