mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Merge pull request #13950 from snipe/fixes/array_key_in_import
Check for the array key in $activeFile->first_row
This commit is contained in:
commit
eca13d0593
|
@ -235,7 +235,7 @@
|
|||
])
|
||||
}}
|
||||
</div>
|
||||
@if ($activeFile->first_row)
|
||||
@if (($activeFile->first_row) && (array_key_exists($index, $activeFile->first_row)))
|
||||
<div class="col-md-5">
|
||||
<p class="form-control-static">{{ str_limit($activeFile->first_row[$index], 50, '...') }}</p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue