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
|
||||
@endforeach
|
||||
@else
|
||||
@if($files[0] != '')
|
||||
@if(isset($files[0]) && $files[0] != '')
|
||||
@php
|
||||
$fileName = explode("/", $item['file']);
|
||||
@endphp
|
||||
|
|
Loading…
Reference in a new issue