3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-04 18:15:43 +00:00

Switched to nth from fetchOne in CSV reader

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2025-09-04 12:50:12 +01:00
parent 18172d3896
commit 7da5210a01

View File

@ -136,7 +136,7 @@ class ImportController extends Controller
try {
// Grab the first row to display via ajax as the user picks fields
$import->first_row = $reader->fetchOne(1);
$import->first_row = $reader->nth(1);
} catch (JsonEncodingException $e) {
return response()->json(
Helper::formatStandardApiResponse(