Skip to content

Commit 96dc8e3

Browse files
ENGCOM-5572: Resolve app/code/Magento/Customer/view/frontend/templates/address/grid.phtml call non-exist function getBackUrl (issue 24058) #24079
- Merge Pull Request #24079 from edenduong/magento2:2.3-bugfix/get_back_url_accout_issue24058 - Merged commits: 1. 9798c61
2 parents 89cf888 + 9798c61 commit 96dc8e3

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Customer/view/frontend/templates/address

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/view/frontend/templates/address/grid.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ $customerAddressView = $block->getData('customer_address');
6363
<button type="button" role="add-address" title="<?= $block->escapeHtmlAttr(__('Add New Address')) ?>" class="action primary add"><span><?= $block->escapeHtml(__('Add New Address')) ?></span></button>
6464
</div>
6565
<div class="secondary">
66-
<a class="action back" href="<?= $block->escapeUrl($block->getBackUrl()) ?>"><span><?= $block->escapeHtml(__('Back')) ?></span></a>
66+
<a class="action back" href="<?= $block->escapeUrl($block->getUrl('customer/account')) ?>"><span><?= $block->escapeHtml(__('Back')) ?></span></a>
6767
</div>
6868
</div>
6969
<script type="text/x-magento-init">

0 commit comments

Comments
 (0)