Null ref gefixt

This commit is contained in:
NH Gooi
2024-02-12 15:25:34 +01:00
parent fd855bc3e0
commit 7907dd0a46
5 changed files with 4 additions and 3 deletions

View File

@@ -42,12 +42,12 @@
<img src="{{$image}}" class="attachment-small-slider-thumb size-small-slider-thumb wp-post-image" alt="{{$block->image->title}}" title="" style="display: block;">
</a>
<div class="sentence">
@if($block->image->caption)
@if(isset($block->image->caption))
<span class="text">{{$block->image->caption}}</span>
@elseif($block->image->title)
@elseif(isset($block->image->title))
<span class="text">{{$block->image->title}}</span>
@endif
@if($block->image->author)
@if(isset($block->image->author))
<span class="author">{{$block->image->author}}</span>
@endif
</div>