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

Fix custom links not generating

parent 1528d5a4
......@@ -100,7 +100,7 @@ class CustomUrlGenerator extends UrlGeneratorBase {
*/
public function getDataSets() {
$this->includeImages = $this->generator->getSetting('custom_links_include_images', FALSE);
return array_values($this->generator->getCustomLinks());
return array_values($this->generator->setVariants($this->sitemapVariant)->getCustomLinks());
}
/**
......
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