Skip to content

Commit ea9f359

Browse files
committed
store_view_code-column-has-empty-values-in-csv-17784.
Moved ->clear();
1 parent 072ef37 commit ea9f359

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CatalogImportExport/Model/Export

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogImportExport/Model/Export/Product.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,8 +948,8 @@ protected function loadCollection(): array
948948
foreach ($collection as $itemId => $item) {
949949
$data[$itemId][$storeId] = $item;
950950
}
951+
$collection->clear();
951952
}
952-
$collection->clear();
953953

954954
return $data;
955955
}

0 commit comments

Comments
 (0)