mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -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>
|
</div>
|
||||||
@if ($activeFile->first_row)
|
@if (($activeFile->first_row) && (array_key_exists($index, $activeFile->first_row)))
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
<p class="form-control-static">{{ str_limit($activeFile->first_row[$index], 50, '...') }}</p>
|
<p class="form-control-static">{{ str_limit($activeFile->first_row[$index], 50, '...') }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue