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.
2 parents 0b0f7c8 + d57a417 commit 8899db8Copy full SHA for 8899db8
app/code/Magento/Customer/Block/Address/Edit.php
@@ -125,7 +125,7 @@ protected function _prepareLayout()
125
if ($postedData = $this->_customerSession->getAddressFormData(true)) {
126
$postedData['region'] = [
127
'region_id' => isset($postedData['region_id']) ? $postedData['region_id'] : null,
128
- 'region' => $postedData['region'],
+ 'region' => $postedData['region'] ?? null,
129
];
130
$this->dataObjectHelper->populateWithArray(
131
$this->_address,
0 commit comments