From 4a67919be701a8ab0abe9fc3144d13366295371a Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 24 May 2018 04:44:02 +0000 Subject: [PATCH] Issue 5010: Don't show removed users --- src/Model/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Profile.php b/src/Model/Profile.php index 8bb519448e..a2e374e51b 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -90,7 +90,7 @@ class Profile */ public static function load(App $a, $nickname, $profile = 0, $profiledata = [], $show_connect = true) { - $user = dba::selectFirst('user', ['uid'], ['nickname' => $nickname]); + $user = dba::selectFirst('user', ['uid'], ['nickname' => $nickname, 'account_removed' => false]); if (!DBM::is_result($user) && empty($profiledata)) { logger('profile error: ' . $a->query_string, LOGGER_DEBUG); -- 2.39.5