Skip to content

Commit 2f7f559

Browse files
RoardomRKeaves
authored andcommitted
fix: nullable collection accessed
Regression from HDInnovations#4613
1 parent 5ec54b5 commit 2f7f559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/torrent/partials/collection.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="panel__body collection-posters" style="padding: 5px">
2-
@if ($meta?->collections->isNotEmpty() && $torrent->category->movie_meta)
2+
@if ($meta?->collections?->isNotEmpty() && $torrent->category->movie_meta)
33
@foreach ($meta?->collections?->first()?->movies as $movie)
44
<x-movie.poster :$movie :categoryId="$movie->torrents_min_category_id" />
55
@endforeach

0 commit comments

Comments
 (0)