diff --git a/core/lib/Thelia/Core/FileFormat/Formatting/Formatter/CSVFormatter.php b/core/lib/Thelia/Core/FileFormat/Formatting/Formatter/CSVFormatter.php index 56de24c26..96b8ca4d7 100644 --- a/core/lib/Thelia/Core/FileFormat/Formatting/Formatter/CSVFormatter.php +++ b/core/lib/Thelia/Core/FileFormat/Formatting/Formatter/CSVFormatter.php @@ -81,7 +81,6 @@ class CSVFormatter extends AbstractFormatter $delimiterLength = strlen($this->delimiter); $lineReturnLength = strlen($this->lineReturn); - if (false !== $firstRow) { $rawKeys = array_keys($firstRow); $keys = []; @@ -170,4 +169,4 @@ class CSVFormatter extends AbstractFormatter { return FormatType::TABLE; } -} \ No newline at end of file +} diff --git a/core/lib/Thelia/ImportExport/Import/Type/ProductPriceImport.php b/core/lib/Thelia/ImportExport/Import/Type/ProductPriceImport.php index f008f7aba..09b04f13e 100644 --- a/core/lib/Thelia/ImportExport/Import/Type/ProductPriceImport.php +++ b/core/lib/Thelia/ImportExport/Import/Type/ProductPriceImport.php @@ -107,6 +107,7 @@ class ProductPriceImport extends ImportHandler } $price->save(); + $this->importedRows++; } }