diff --git a/resources/views/user/profile.blade.php b/resources/views/user/profile.blade.php index 0f423658e..28de76bfc 100644 --- a/resources/views/user/profile.blade.php +++ b/resources/views/user/profile.blade.php @@ -23,9 +23,9 @@
This user has been banned.
@endif - @if (Auth::user() ?? false && Auth::user()->isStaff && $user->settings->strike_count > 0) + @if (Auth::check() && Auth::user()->isStaff)
- This user has received {{ $user->settings->strike_count }} strike{{ $user->settings->strike_count > 1 ? 's' : '' }}. + This user has received {{ $user->settings->strike_count }} strike{{ $user->settings->strike_count == 1 ? '' : 's' }}.
@endif