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.
2 parents df567d1 + 4a1982f commit a74270fCopy full SHA for a74270f
app/code/Magento/Cms/Helper/Page.php
@@ -189,9 +189,7 @@ public function getPageUrl($pageId = null)
189
$page = $this->_pageFactory->create();
190
if ($pageId !== null && $pageId !== $page->getId()) {
191
$page->setStoreId($this->_storeManager->getStore()->getId());
192
- if (!$page->load($pageId)) {
193
- return null;
194
- }
+ $page->load($pageId);
195
}
196
197
if (!$page->getId()) {
0 commit comments