From f008483a8d30163bd82ff0dca9f1a141fb7792fc Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 7 Mar 2022 11:37:24 -0800 Subject: [PATCH] Fixes #4696 - Banned and Unverified users were being displayed in user (member) search results. --- e107_plugins/user/e_search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/user/e_search.php b/e107_plugins/user/e_search.php index 317966779..55fb602d2 100644 --- a/e107_plugins/user/e_search.php +++ b/e107_plugins/user/e_search.php @@ -65,7 +65,7 @@ class user_search extends e_search // include plugin-folder in the name. { $tp = e107::getParser(); - $qry = ""; + $qry = "user_ban = 0 AND "; if (vartrue($parm['time']) && is_numeric($parm['time'])) {