Commit 9f04f3a7 authored by sleitner's avatar sleitner Committed by gbyte.co

Issue #3102450 by sleitner, gbyte.co: Manual generated sitemap differs from...

Issue #3102450 by sleitner, gbyte.co: Manual generated sitemap differs from drush and cron generated
parent 27a6876f
......@@ -115,6 +115,11 @@ class EntityUrlGenerator extends EntityUrlGeneratorBase {
$query->condition($keys['status'], 1);
}
// Shift access check to EntityUrlGeneratorBase for language
// specific access.
// See https://www.drupal.org/project/simple_sitemap/issues/3102450.
$query->accessCheck(FALSE);
foreach ($query->execute() as $entity_id) {
$data_sets[] = [
'entity_type' => $entity_type_name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment