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:
@ -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(
|
||||
|
||||
Reference in New Issue
Block a user