summaryrefslogtreecommitdiff
path: root/app/Libraries
diff options
context:
space:
mode:
Diffstat (limited to 'app/Libraries')
-rw-r--r--app/Libraries/Helper.php2
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"])