Skip to content

Commit d2394a4

Browse files
committed
Fix to CSV import
Fixing a mis-aligned column import for the seatplan CSV import - forgot to increase the index when adding the seat_group_id column previously.
1 parent 71ec6cb commit d2394a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Models/SeatingPlan.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function import(string $csv, bool $wipe = false): void
173173
$seat->description = $row[6] ?? null;
174174
$seat->class = $row[7] ?? null;
175175
$seat->seat_group_id = (int)$row[8] ?? null;
176-
$seat->disabled = (bool)$row[8];
176+
$seat->disabled = (bool)$row[9];
177177

178178
$seat->saveQuietly();
179179
}

0 commit comments

Comments
 (0)