Skip to content
Snippets Groups Projects
Commit 78feb73d authored by Paul Ilea's avatar Paul Ilea
Browse files

[BUGFIX] Fix sitemap generation

parent c6ebe81d
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ class SitemapSignalSlot {
// get languagevisibility uid that is available (check for the correct uid to fall back to)
if ($isLanguageVisibilityLoaded) {
$element = FrontendServices::getElement($row['uid'], $table);
$element = FrontendServices::getElement($row, $table);
$languageId = FrontendServices::getOverlayLanguageIdForElement($element, $sysLanguageUid);
if ($languageId === FALSE) {
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment