このコミットが含まれているのは:
テクニカル諏訪子 2020-09-23 17:25:26 +09:00
コミット 51e7f88549
1個のファイルの変更2行の追加1行の削除

ファイルの表示

@ -64,11 +64,12 @@ class VideoController extends Controller {
$res->gametitle = $res->gametitle[0];
$res->gametitle = str_replace('【'.$game->name, '', $res->gametitle);
$res->mgametitle = $game->name;
$slugger = $res->slug;
$res->slug = $game->slug;
if ($res->gametitle == '') $res->gametitle = '初代';
$comments = DB::table('blg_comments')->where('video_id', $res->slug)->orderBy('id', 'asc')->get()->toArray();
$comments = DB::table('blg_comments')->where('video_id', $slugger)->orderBy('id', 'asc')->get()->toArray();
$ytslug = explode('?v=', $res->youtube);
$res->ytcomment = $this->getYouTubeCome($ytslug[1]);
$res->nicocomment = array();