Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Roardom committed Aug 23, 2023
1 parent 93e792a commit 90ad8c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class User extends Authenticatable
protected $casts = [
'last_login' => 'datetime',
'last_action' => 'datetime',
'hidden' => 'bool',
];

/**
Expand Down Expand Up @@ -660,7 +661,7 @@ public function isVisible(self $target, string $group = 'profile', $type = false
return true;
}

if ($target->hidden == 1) {
if ($target->hidden) {
return false;
}

Expand Down

0 comments on commit 90ad8c3

Please sign in to comment.