ファック!!

このコミットが含まれているのは:
テクニカル諏訪子 2021-01-03 22:51:58 +09:00
コミット 1cdfbb578e
1個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -71,8 +71,8 @@ class Prayer {
$res->user = userDetail(null, $this->cook);
$res->comments['total'] = count($comments);
$res->comments['come'] = $comments;
$res->comments['total'] += $res->ytcomment['total'];
$res->comments['come'] = array_merge($res->comments['come'], $res->ytcomment['come']);
$res->comments['total'] += (isset($res->ytcomment['total']) ? $res->ytcomment['total'] : 0);
if (isset($res->ytcomment['come'])) $res->comments['come'] = array_merge($res->comments['come'], $res->ytcomment['come']);
return view('pages.site.video.prayer', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user]);
}