Skip to content

Commit 736f783

Browse files
Merge forwardport of #11299 to 2.3-develop branch
Applied pull request patch https://github.com/magento/magento2/pull/11299.patch (created by @lano-vargas) based on commit(s): 1. 17d37b2 Fixed GitHub Issues in 2.3-develop branch: - #11275: Call to a member function addCrumb() (reported by @lano-vargas)
2 parents 0c62caa + 75d5a05 commit 736f783

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/Sales/Helper/Guest.php

+3
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ public function loadValidOrder(App\RequestInterface $request)
178178
public function getBreadcrumbs(\Magento\Framework\View\Result\Page $resultPage)
179179
{
180180
$breadcrumbs = $resultPage->getLayout()->getBlock('breadcrumbs');
181+
if (!$breadcrumbs) {
182+
return;
183+
}
181184
$breadcrumbs->addCrumb(
182185
'home',
183186
[

0 commit comments

Comments
 (0)