We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1382aea commit 0b27c5fCopy full SHA for 0b27c5f
app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php
@@ -1972,7 +1972,7 @@ protected function _saveStockItem()
1972
*/
1973
protected function _filterRowData(&$rowData)
1974
{
1975
- $rowData = array_filter($rowData, '\strlen');
+ $rowData = array_filter($rowData, fn ($tmpString) => strlen($tmpString ?? ''));
1976
// Exceptions - for sku - put them back in
1977
if (!isset($rowData[self::COL_SKU])) {
1978
$rowData[self::COL_SKU] = null;
0 commit comments