From 29413dce2c1232a6e8d5735438d567887bd08cd2 Mon Sep 17 00:00:00 2001 From: Tobias Duehr Date: Tue, 25 Jun 2019 15:32:18 +0200 Subject: [PATCH] Bugfix $page is a row (array) here --- src/Resources/contao/SitemapFlat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/contao/SitemapFlat.php b/src/Resources/contao/SitemapFlat.php index a3dddcd..5a8660f 100644 --- a/src/Resources/contao/SitemapFlat.php +++ b/src/Resources/contao/SitemapFlat.php @@ -27,7 +27,7 @@ public function findUrl($url, $exactMatch = true) $url = \mb_strtolower($url); $page = $this->sitemap->{$url} ?? null; if ($page) { - $page->exactUrlMatch = true; + $page['exactUrlMatch'] = true; return $page; }