From 174df4c182311642779a30bfca944f0699c93ab9 Mon Sep 17 00:00:00 2001 From: Developer Date: Sat, 27 Jun 2026 03:29:31 +0200 Subject: fix: handle empty poster_url strings as missing poster poster_url can be empty string instead of null, so use empty() instead of is_null() in cinema, cinema_show, and genre_movies views. --- resources/views/cinema.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/views/cinema.blade.php') diff --git a/resources/views/cinema.blade.php b/resources/views/cinema.blade.php index baa0802..af09b91 100644 --- a/resources/views/cinema.blade.php +++ b/resources/views/cinema.blade.php @@ -122,7 +122,7 @@ html { @foreach( $movies as $movie)
- @if ( ! is_null($movie->poster_url) ) + @if ( ! empty($movie->poster_url) ) {{ $movie->primary_title }} poster @else
🎬
-- cgit v1.2.3