mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Fix for CSV import
This commit is contained in:
parent
b9f51dd4e8
commit
6fe0b32409
@ -657,6 +657,10 @@ class ImportService
|
||||
{
|
||||
$this->checkForFile($fileName);
|
||||
|
||||
if (! ini_get('auto_detect_line_endings')) {
|
||||
ini_set('auto_detect_line_endings', '1');
|
||||
}
|
||||
|
||||
$csv = Reader::createFromPath($fileName, 'r');
|
||||
//$csv->setHeaderOffset(0); //set the CSV header offset
|
||||
$stmt = new Statement();
|
||||
|
Loading…
Reference in New Issue
Block a user