diff --git a/app/Imports/ParkingLicensePlateImport.php b/app/Imports/ParkingLicensePlateImport.php index 468abf2..1e6aead 100644 --- a/app/Imports/ParkingLicensePlateImport.php +++ b/app/Imports/ParkingLicensePlateImport.php @@ -30,7 +30,7 @@ class ParkingLicensePlateImport implements ToModel */ public function model(array $row) { - if ($this->index == 1) { + if (!$this->index) { $this->index += 1; return; }