ソースを参照

ロリコン

pull/18/head
コミット
aa0149ea2e
  1. 3
      app/Http/Controllers/Video/Prayer.php

3
app/Http/Controllers/Video/Prayer.php

@ -98,6 +98,7 @@ class Prayer extends Engine {
if (!$get) return $err;
$get = json_decode($get);
if (isset($get->status) && $get->status == 404) return [];
$come = array();
$come['come'] = array();
@ -116,7 +117,7 @@ class Prayer extends Engine {
$g->comments->id = $g->id;
$g->comments->name = $g->account->displayName;
$g->comments->channel = $g->account->url;
$g->comments->icon = env('PEER_URI').$g->account->avatar->path;
$g->comments->icon = !is_null($g->account->avatar) ? env('PEER_URI').$g->account->avatar->path : '/img/noicon.jpg';
$g->comments->message = strip_tags($g->text, array('<br />'));
$g->comments->createdTS = strtotime($g->createdAt);
$g->comments->created = date('Y年m月d日 H:i:s', strtotime($g->createdAt));

読み込み中…
キャンセル
保存