Skip to content

Commit 0e56090

Browse files
committed
Revert "Remove reference to external type"
This reverts commit 45f83e9.
1 parent 32fd8e9 commit 0e56090

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/Api/DataObjectHelper.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ protected function _setDataValues($dataObject, array $data, $interfaceName)
109109
unset($data[CustomAttributesDataInterface::CUSTOM_ATTRIBUTES]);
110110
}
111111
if ($dataObject instanceof \Magento\Framework\Model\AbstractModel
112-
&& $interfaceName !== '\Magento\Quote\Api\Data\AddressInterface'
112+
&& !$dataObject instanceof \Magento\Quote\Api\Data\AddressInterface
113+
//&& !isset($data['items'])?? $data['items'][0]['is_tax_included']) {
113114
&& !isset($data['items'])) {
114115
$simpleData = array_filter($data, function ($e) {
115116
return is_scalar($e) || is_null($e);

0 commit comments

Comments
 (0)