We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 659c431 commit 7971d4cCopy full SHA for 7971d4c
app/code/Magento/Sitemap/Model/Sitemap.php
@@ -477,7 +477,7 @@ public function generateXml()
477
478
$this->_finalizeSitemap();
479
480
- if ($this->_sitemapIncrement == -1) {
+ if ($this->_sitemapIncrement == 1) {
481
// In case when only one increment file was created use it as default sitemap
482
$path = $this->getFilePath($this->_getCurrentSitemapFilename($this->_sitemapIncrement));
483
$destination = $this->getFilePath($this->getSitemapFilename());
0 commit comments