Fix cs
modifié: core/lib/Thelia/Core/FileFormat/Formatting/Formatter/CSVFormatter.php modifié: core/lib/Thelia/ImportExport/Import/Type/ProductPriceImport.php
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ class ProductPriceImport extends ImportHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
$price->save();
|
$price->save();
|
||||||
|
$this->importedRows++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user