Skip to content

Commit bd005a4

Browse files
committed
update filter for QuoteItemDetails
1 parent 7dff7fd commit bd005a4

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
@@ -110,7 +110,8 @@ protected function _setDataValues($dataObject, array $data, $interfaceName)
110110
}
111111
if ($dataObject instanceof \Magento\Framework\Model\AbstractModel
112112
&& !$dataObject instanceof \Magento\Quote\Api\Data\AddressInterface
113-
&& !isset($data['items'])?? $data['items'][0]['is_tax_included']) {
113+
//&& !isset($data['items'])?? $data['items'][0]['is_tax_included']) {
114+
&& !isset($data['items'])) {
114115
$simpleData = array_filter($data, function ($e) {
115116
return is_scalar($e) || is_null($e);
116117
});

0 commit comments

Comments
 (0)