Skip to content

Commit

Permalink
⏫ Forwardport of #11299 to 2.3-develop branch
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
magento-engcom-team committed Jan 23, 2018
1 parent 8e77e2f commit 75d5a05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/code/Magento/Sales/Helper/Guest.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ public function loadValidOrder(App\RequestInterface $request)
public function getBreadcrumbs(\Magento\Framework\View\Result\Page $resultPage)
{
$breadcrumbs = $resultPage->getLayout()->getBlock('breadcrumbs');
if (!$breadcrumbs) {
return;
}
$breadcrumbs->addCrumb(
'home',
[
Expand Down

0 comments on commit 75d5a05

Please sign in to comment.