diff options
| author | horus | 2022-01-03 14:55:31 +0100 |
|---|---|---|
| committer | horus | 2022-01-03 14:55:31 +0100 |
| commit | 536b38a27f5ca16e40eb3de4d1fd8e6f1d25e924 (patch) | |
| tree | b1e67af2ec1ce94b492832af06cf995b9297d21d /app/Libraries/Helper.php | |
| parent | 6531270e480bd39cb1b364d8d1a3cd8a4fe3fc17 (diff) | |
| download | senpai-536b38a27f5ca16e40eb3de4d1fd8e6f1d25e924.tar.gz | |
Adding new users should be async. (Does not work yet.)
Diffstat (limited to 'app/Libraries/Helper.php')
| -rw-r--r-- | app/Libraries/Helper.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Libraries/Helper.php b/app/Libraries/Helper.php index 71e3cea..4ab1e75 100644 --- a/app/Libraries/Helper.php +++ b/app/Libraries/Helper.php @@ -162,9 +162,11 @@ class Helper { $actually_watching = array(); $anime = $user->getIsWatching(); + if ( false === $anime ) return false; + foreach( $anime as $anime_details ) { $check = DB::table('is_watching') ->where('mal_id', $anime_details["mal_id"]) |
