Skip to content

Commit

Permalink
Fix visibility of profiledata section
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbennett committed Feb 23, 2020
1 parent d4e676e commit 16e0d22
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/controllers/User/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@ protected function getUserInfo(UserViewModel &$model) {

// Should we display profile data at all?
$model->profiledata = (
$model->github || $model->facebook ||
$model->twitter || $model->instagram ||
$model->skype || $model->website
$model->discord || $model->facebook || $model->github ||
$model->instagram || $model->phone || $model->reddit ||
$model->skype || $model->steam_id || $model->twitter ||
$model->website
);

// How long have they been a member?
Expand Down

0 comments on commit 16e0d22

Please sign in to comment.