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 6ab019b commit b7059a6Copy full SHA for b7059a6
app/code/Magento/Sitemap/Controller/Adminhtml/Sitemap/Generate.php
@@ -49,7 +49,8 @@ public function execute()
49
// if sitemap record exists
50
if ($sitemap->getId()) {
51
try {
52
- $this->appEmulation->startEnvironmentEmulation($sitemap->getStoreId(),\Magento\Framework\App\Area::AREA_FRONTEND, true);
+ $this->appEmulation->startEnvironmentEmulation($sitemap->getStoreId(),
53
+ \Magento\Framework\App\Area::AREA_FRONTEND, true);
54
$sitemap->generateXml();
55
$this->appEmulation->stopEnvironmentEmulation();
56
$this->messageManager->addSuccessMessage(
0 commit comments