diff options
| author | horus | 2020-03-24 01:29:49 +0100 |
|---|---|---|
| committer | horus | 2020-03-24 01:29:49 +0100 |
| commit | b937441c92d749b2c6e6d82835a241a36de5bf1b (patch) | |
| tree | 368dc97e3d2167ddfc5aec8636de4ffe1ec19d16 /app | |
| parent | be74d82014af406a7e7df836f13c44cf03e2d125 (diff) | |
| download | senpai-b937441c92d749b2c6e6d82835a241a36de5bf1b.tar.gz | |
Now it fixes the stupid misstake.
Diffstat (limited to 'app')
| -rw-r--r-- | app/Libraries/Background.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |
