Commit fbd03108 authored by gbyte.co's avatar gbyte.co

Issue #2608560 by victorcpereira: Not all bundles showed on the sitemap.

parent d1f54da1
...@@ -28,7 +28,7 @@ abstract class EntityLinkGenerator { ...@@ -28,7 +28,7 @@ abstract class EntityLinkGenerator {
foreach ($links as &$link) { foreach ($links as &$link) {
$link = SitemapGenerator::add_xml_link_markup($link, $bundle_settings['priority']); $link = SitemapGenerator::add_xml_link_markup($link, $bundle_settings['priority']);
} }
$this->entity_links += $links; $this->entity_links = array_merge($this->entity_links, $links);
} }
return $this->entity_links; return $this->entity_links;
} }
......
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