diff --git a/resources/views/Bilettm/Partials/HomeCinema.blade.php b/resources/views/Bilettm/Partials/HomeCinema.blade.php index 5cc3590b..b3afe8e1 100644 --- a/resources/views/Bilettm/Partials/HomeCinema.blade.php +++ b/resources/views/Bilettm/Partials/HomeCinema.blade.php @@ -1,4 +1,4 @@ -@if($cinema->events->count()>0)) +@if(!empty($cinema->events))

{{$cinema->title}}

diff --git a/resources/views/Bilettm/Partials/HomeMusical.blade.php b/resources/views/Bilettm/Partials/HomeMusical.blade.php index ee7d64d4..a953ec88 100644 --- a/resources/views/Bilettm/Partials/HomeMusical.blade.php +++ b/resources/views/Bilettm/Partials/HomeMusical.blade.php @@ -1,4 +1,4 @@ -@if($musical->events->count()>0) +@if(!empty($musical->events))

{{$musical->title}}

diff --git a/resources/views/Bilettm/Partials/HomeTheatre.blade.php b/resources/views/Bilettm/Partials/HomeTheatre.blade.php index 44314ecd..e6ab9db9 100644 --- a/resources/views/Bilettm/Partials/HomeTheatre.blade.php +++ b/resources/views/Bilettm/Partials/HomeTheatre.blade.php @@ -1,4 +1,4 @@ -@if($theatre->events->count()>0)) +@if(!empty($theatre->events))

{{$theatre->title}}