diff --git a/app/Models/Pages/Profile/View.php b/app/Models/Pages/Profile/View.php index f1d0c0dcc685a44f8803c9a4d7601d5fa08a12d8..120d729b6f5a652ab37030296ab505655d898dd3 100644 --- a/app/Models/Pages/Profile/View.php +++ b/app/Models/Pages/Profile/View.php @@ -61,7 +61,7 @@ class View extends Profile $fields[] = [ 'type' => 'endwrap', ]; - if ($this->rules->useAvatar) { + if ($this->rules->useAvatar && $this->curUser->avatar) { $fields['avatar'] = [ 'type' => 'yield', 'caption' => \ForkBB\__('Avatar'),