From b937441c92d749b2c6e6d82835a241a36de5bf1b Mon Sep 17 00:00:00 2001 From: horus Date: Tue, 24 Mar 2020 01:29:49 +0100 Subject: Now it fixes the stupid misstake. --- app/Libraries/Background.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Libraries/Background.php') diff --git a/app/Libraries/Background.php b/app/Libraries/Background.php index ed7e9a4..7f5f709 100644 --- a/app/Libraries/Background.php +++ b/app/Libraries/Background.php @@ -29,7 +29,7 @@ class Background { return; } - $airing = Airing::where('mal_id', $stats->mal_id)->get()->first(); + $airing = Airing::where('mal_id', $stats->mal_id)->get()->last(); if ( is_null($airing) ) { $airing = new Airing(); } -- cgit v1.2.3