From 78feb73d7573eff9743497b6e7e44ea5273f9595 Mon Sep 17 00:00:00 2001
From: Paul Ilea <paul@sgalinski.de>
Date: Wed, 6 Nov 2019 20:08:27 +0200
Subject: [PATCH] [BUGFIX] Fix sitemap generation

---
 Classes/SignalSlot/SitemapSignalSlot.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Classes/SignalSlot/SitemapSignalSlot.php b/Classes/SignalSlot/SitemapSignalSlot.php
index fcb7185d..36bef6fb 100644
--- a/Classes/SignalSlot/SitemapSignalSlot.php
+++ b/Classes/SignalSlot/SitemapSignalSlot.php
@@ -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;
-- 
GitLab