From dbb67262e55c587e863d60bb17e2efd26c709a77 Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 27 Apr 2022 23:24:38 +0000 Subject: [PATCH] Fixed an issue. --- public/profile.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/profile.php b/public/profile.php index fb6a297f..a2b43ca4 100644 --- a/public/profile.php +++ b/public/profile.php @@ -28,6 +28,12 @@ try { return; } +if($profileUser->isDeleted()) { + http_response_code(404); + echo 'User not found.'; + return; +} + $notices = []; $currentUser = User::getCurrent();