diff --git a/app/Importer/Importer.php b/app/Importer/Importer.php index 4d4998507a..dcd9b98839 100644 --- a/app/Importer/Importer.php +++ b/app/Importer/Importer.php @@ -120,7 +120,8 @@ abstract class Importer public function import() { $headerRow = $this->csv->fetchOne(); - $results = $this->normalizeInputArray($this->csv->getRecords()); + $this->csv->setHeaderOffset(0); //explicitly sets the CSV document header record + $results = $this->normalizeInputArray($this->csv->getRecords($headerRow)); $this->populateCustomFields($headerRow);