Skip to content

Commit 5bcfe0d

Browse files
MAGETWO-59785: Incorrect URLs in sitemap when generated from admin with 'Use Secure URLs in Admin' = Yes
Static fix.
1 parent 6d32b91 commit 5bcfe0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sitemap/Model/Sitemap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ protected function _getBaseDir()
586586
*/
587587
protected function _getStoreBaseUrl($type = \Magento\Framework\UrlInterface::URL_TYPE_LINK)
588588
{
589-
$isSecure=$this->_storeManager->getStore($this->getStoreId())->isFrontUrlSecure();
589+
$isSecure = $this->_storeManager->getStore($this->getStoreId())->isFrontUrlSecure();
590590
return rtrim($this->_storeManager->getStore($this->getStoreId())->getBaseUrl($type, $isSecure), '/') . '/';
591591
}
592592

0 commit comments

Comments
 (0)