Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit a847d89

Browse files
committed
magento/magento2#12374: Model hasDataChanges always true. -Added false for collection items.
1 parent 5f763a9 commit a847d89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Eav/Model/Entity/Collection/AbstractCollection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,7 @@ public function load($printQuery = false, $logQuery = false)
920920
foreach ($this->_items as $item) {
921921
$item->setOrigData();
922922
$this->beforeAddLoadedItem($item);
923+
$item->setDataChanges(false);
923924
}
924925
\Magento\Framework\Profiler::stop('set_orig_data');
925926

0 commit comments

Comments
 (0)