diff --git a/Classes/Fusion/XmlSitemapUrlsImplementation.php b/Classes/Fusion/XmlSitemapUrlsImplementation.php index 4dfc061..57170cf 100644 --- a/Classes/Fusion/XmlSitemapUrlsImplementation.php +++ b/Classes/Fusion/XmlSitemapUrlsImplementation.php @@ -158,7 +158,7 @@ protected function collectItems(array &$items, Subtree $subtree): void if ($this->isDocumentNodeToBeIndexed($node)) { $item = [ 'node' => $node, - 'lastModificationDateTime' => $node->timestamps->lastModified, + 'lastModificationDateTime' => $node->timestamps->lastModified ?: $node->timestamps->created, 'priority' => $node->getProperty('xmlSitemapPriority') ?: '', 'images' => [], ];