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:
ro 2024-03-05 17:46:15 -06:00
parent d1c3b4a8f6
commit 8a81ec25fc
No known key found for this signature in database
GPG key ID: 29B551CDBD4D3B50

View file

@ -109,7 +109,7 @@
@endif
@endforeach
@else
@if($files[0] != '')
@if(isset($files[0]) && $files[0] != '')
@php
$fileName = explode("/", $item['file']);
@endphp