diff --git a/Core/Elements/TemplateDocument.class.php b/Core/Elements/TemplateDocument.class.php index 38c4100..8b8a436 100644 --- a/Core/Elements/TemplateDocument.class.php +++ b/Core/Elements/TemplateDocument.class.php @@ -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"] ?? "" ],