diff --git a/app/helpers.php b/app/helpers.php index 78e4e0a..5ba668a 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -45,8 +45,8 @@ function ptFullHandle ($v) { return $v->name.($v->host != env('PEER_URI') ? '@'.$v->host : ''); } -function ptAvatar ($avatar) { - return isset($avatar) && !is_null($avatar) ? env('PEER_URI').$avatar->path : '/img/noicon.jpg'; +function ptAvatar ($v) { + return isset($v->avatar) && !is_null($v->avatar) ? env('PEER_URI').$v->avatar->path : '/img/noicon.jpg'; } function userDetail ($id, $kero=null) { diff --git a/resources/views/theme/techsuwa/component/peertube/a/channels/avatar.blade.php b/resources/views/theme/techsuwa/component/peertube/a/channels/avatar.blade.php index 8ec0488..6350f42 100644 --- a/resources/views/theme/techsuwa/component/peertube/a/channels/avatar.blade.php +++ b/resources/views/theme/techsuwa/component/peertube/a/channels/avatar.blade.php @@ -1,7 +1,7 @@
- チャンネルのアバター + チャンネルのアバター

diff --git a/resources/views/theme/techsuwa/component/peertube/a/info.blade.php b/resources/views/theme/techsuwa/component/peertube/a/info.blade.php index f943b57..3739d0a 100644 --- a/resources/views/theme/techsuwa/component/peertube/a/info.blade.php +++ b/resources/views/theme/techsuwa/component/peertube/a/info.blade.php @@ -1,7 +1,7 @@