diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index dbff7a766..7231c519a 100644 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -163,7 +163,7 @@ class ProfileController extends Controller ->first(); } else { return Profile::withTrashed() - ->whereNull('domain') + ->whereNull(['domain', 'status']) ->whereUsername($username) ->first(); }