forked from projects/fipamo
fix for empty files array in pages
page was erroring out because no files array was being set there are not files, so put in a quick patch for that
This commit is contained in:
parent
d1c3b4a8f6
commit
8a81ec25fc
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
@else
|
@else
|
||||||
@if($files[0] != '')
|
@if(isset($files[0]) && $files[0] != '')
|
||||||
@php
|
@php
|
||||||
$fileName = explode("/", $item['file']);
|
$fileName = explode("/", $item['file']);
|
||||||
@endphp
|
@endphp
|
||||||
|
|
Loading…
Reference in a new issue