diff --git a/app/Http/Controllers/Video/Prayer.php b/app/Http/Controllers/Video/Prayer.php index 056c8eb..eb7e4ac 100644 --- a/app/Http/Controllers/Video/Prayer.php +++ b/app/Http/Controllers/Video/Prayer.php @@ -103,7 +103,7 @@ class Prayer { $get = json_decode($get, false); $come['come'] = array(); - if (isset($get->error)) { + if (isset($get->error) || !$get) { if ($tslug != '') { if (!$get = DB::table('vid_ytcomment')->where('vid', $tslug)->first()) return array(); $come = unserialize($get->come);