Null ref gefixt

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

No files matched your search

+3 -3
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>