modifié:         core/lib/Thelia/Core/FileFormat/Formatting/Formatter/CSVFormatter.php
	modifié:         core/lib/Thelia/ImportExport/Import/Type/ProductPriceImport.php
This commit is contained in:
Benjamin Perche
2014-07-21 11:53:54 +02:00
parent 79a8390817
commit 5e00367757
2 changed files with 2 additions and 2 deletions

View File

@@ -81,7 +81,6 @@ class CSVFormatter extends AbstractFormatter
$delimiterLength = strlen($this->delimiter); $delimiterLength = strlen($this->delimiter);
$lineReturnLength = strlen($this->lineReturn); $lineReturnLength = strlen($this->lineReturn);
if (false !== $firstRow) { if (false !== $firstRow) {
$rawKeys = array_keys($firstRow); $rawKeys = array_keys($firstRow);
$keys = []; $keys = [];
@@ -170,4 +169,4 @@ class CSVFormatter extends AbstractFormatter
{ {
return FormatType::TABLE; return FormatType::TABLE;
} }
} }

View File

@@ -107,6 +107,7 @@ class ProductPriceImport extends ImportHandler
} }
$price->save(); $price->save();
$this->importedRows++;
} }
} }