Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
$page is a row (array) here
  • Loading branch information
saibotd authored Jun 25, 2019
1 parent dd8b960 commit 29413dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/SitemapFlat.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 29413dc

Please sign in to comment.