Skip to content

Commit

Permalink
Merge 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 authored Jan 23, 2018
2 parents 0c62caa + 75d5a05 commit 736f783
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 736f783

Please sign in to comment.