Account for admin role, don't error out on null rows #632 (#637)

This commit is contained in:
Nabeel S
2020-03-23 11:50:15 -04:00
committed by GitHub
parent 9e5386264f
commit 877d5a5479
3 changed files with 22 additions and 4 deletions
@@ -46,7 +46,6 @@ class AircraftImporter extends BaseImporter
}
$subfleet = $this->getSubfleet($subfleet_name, $row->icao, $airline_id);
$this->info('Subfleet ID is '.$subfleet->id);
$where = [
'registration' => $row->registration,