From 296f4d0c3834a4e4cac08e274c7ae36fffc05ec9 Mon Sep 17 00:00:00 2001 From: horus Date: Wed, 16 Dec 2020 15:26:11 +0100 Subject: Catch glitch if an anime from the next season is already added. --- resources/views/list_anime.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/views/list_anime.blade.php') diff --git a/resources/views/list_anime.blade.php b/resources/views/list_anime.blade.php index dd8cc4e..49a1935 100644 --- a/resources/views/list_anime.blade.php +++ b/resources/views/list_anime.blade.php @@ -44,7 +44,7 @@
@foreach($all_anime as $anime) -@if ( $anime->season_name != getSeason() && "airing_anime" == \Request::route()->getName() ) +@if ( $anime->season_name != getSeason() && $anime->season_year <= date('Y') && "airing_anime" == \Request::route()->getName() ) @once
-- cgit v1.2.3