Skip to content

Commit

Permalink
magento#26682 Disallow setting extension attributes as data array
Browse files Browse the repository at this point in the history
PHP CS Fix
  • Loading branch information
amenk committed Mar 19, 2020
1 parent ea70c0b commit dcb59d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Quote/Model/ShippingMethodManagement.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ private function getShippingMethods(Quote $quote, $address)
$extractedAddressData = $this->extractAddressData($address);
if (array_key_exists('extension_attributes', $extractedAddressData)) {
unset($extractedAddressData['extension_attributes']);
}
}
$shippingAddress->addData($extractedAddressData);

$shippingAddress->setCollectShippingRates(true);
Expand Down

0 comments on commit dcb59d3

Please sign in to comment.