From 9607567b75a1815ef6f421b9383ade659aec76f4 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 24 Nov 2023 10:08:35 +0000 Subject: [PATCH] Check for the array key in $activeFile->first_row Signed-off-by: snipe --- resources/views/livewire/importer.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/livewire/importer.blade.php b/resources/views/livewire/importer.blade.php index 0134cfe7f2..7bc88a88aa 100644 --- a/resources/views/livewire/importer.blade.php +++ b/resources/views/livewire/importer.blade.php @@ -235,7 +235,7 @@ ]) }} - @if ($activeFile->first_row) + @if (($activeFile->first_row) && (array_key_exists($index, $activeFile->first_row)))

{{ str_limit($activeFile->first_row[$index], 50, '...') }}