From b73bd24bf5e45fd4bb7e0bb749b186d44b1803a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=86=E3=82=AF=E3=83=8B=E3=82=AB=E3=83=AB=E8=AB=8F?= =?UTF-8?q?=E8=A8=AA=E5=AD=90?= Date: Sun, 10 Jan 2021 15:29:19 +0900 Subject: [PATCH] .. --- app/Http/Controllers/Video/Prayer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);