From 92e94220d329065708e1e97fe038f5aa2fb022c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Szubert?= Date: Thu, 3 Dec 2020 17:36:20 +0100 Subject: [PATCH] Fix #30724 - Customer Account Edit controller action enforces Page Title to "Account Information" --- app/code/Magento/Customer/Controller/Account/Edit.php | 9 ++++----- .../view/frontend/layout/customer_account_edit.xml | 3 +++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/code/Magento/Customer/Controller/Account/Edit.php b/app/code/Magento/Customer/Controller/Account/Edit.php index 7c2b7215a05ef..d61bd4b1a0fcb 100644 --- a/app/code/Magento/Customer/Controller/Account/Edit.php +++ b/app/code/Magento/Customer/Controller/Account/Edit.php @@ -1,17 +1,16 @@ session->setCustomerData($customerDataObject); $this->session->setChangePassword($this->getRequest()->getParam('changepass') == 1); - $resultPage->getConfig()->getTitle()->set(__('Account Information')); return $resultPage; } } diff --git a/app/code/Magento/Customer/view/frontend/layout/customer_account_edit.xml b/app/code/Magento/Customer/view/frontend/layout/customer_account_edit.xml index f4dfaa6586b12..e89aa5ab624d9 100644 --- a/app/code/Magento/Customer/view/frontend/layout/customer_account_edit.xml +++ b/app/code/Magento/Customer/view/frontend/layout/customer_account_edit.xml @@ -7,6 +7,9 @@ --> + + Account Information +