Skip to content

Commit 16d16ab

Browse files
committed
MAGETWO-48544: Merge branch 'develop' of git://github.com/EliasKotlyar/magento2 into MAGETWO-48544
2 parents 72079a9 + f97f868 commit 16d16ab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Checkout/Model/Type/Onepage.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,9 @@ public function saveShipping($data, $customerAddressId)
445445
if (!isset($data[$attributeCode])) {
446446
$address->setData($attributeCode, null);
447447
} else {
448-
$address->setDataUsingMethod($attributeCode, $compactedData[$attributeCode]);
448+
if(isset($compactedData[$attributeCode])){
449+
$address->setDataUsingMethod($attributeCode, $compactedData[$attributeCode]);
450+
}
449451
}
450452
}
451453

0 commit comments

Comments
 (0)