mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Check for the array key in $activeFile->first_row
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
1217bff4b6
commit
9607567b75
|
@ -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