From 3f9c78a20bb325983fe7f1823e38884d6a63a314 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 26 Apr 2020 08:04:03 +0200 Subject: [PATCH] Update src/Model/Profile.php Co-Authored-By: Hypolite Petovan --- src/Model/Profile.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Model/Profile.php b/src/Model/Profile.php index d834024103..261c7cc22e 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -893,7 +893,8 @@ class Profile if (!empty($search)) { $searchTerm = '%' . $search . '%'; $cnt = DBA::fetchFirst("SELECT COUNT(*) AS `total` FROM `owner-view` - WHERE $publish AND NOT `blocked` AND NOT `account_removed` + WHERE NOT `blocked` AND NOT `account_removed` + $publish AND ((`name` LIKE ?) OR (`nickname` LIKE ?) OR (`about` LIKE ?) OR -- 2.39.5