We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0085273 commit c54495dCopy full SHA for c54495d
app/code/Magento/Customer/Controller/Address/FormPost.php
@@ -206,11 +206,10 @@ public function execute()
206
$this->messageManager->addException($e, __('We can\'t save the address.'));
207
}
208
209
+ $url = $redirectUrl;
210
if (!$redirectUrl) {
211
$this->_getSession()->setAddressFormData($this->getRequest()->getPostValue());
212
$url = $this->_buildUrl('*/*/edit', ['id' => $this->getRequest()->getParam('id')]);
- } else {
213
- $url = $redirectUrl;
214
215
216
return $this->resultRedirectFactory->create()->setUrl($this->_redirect->error($url));
0 commit comments