From: Michael Vogel Date: Sun, 26 Apr 2020 06:04:03 +0000 (+0200) Subject: Update src/Model/Profile.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3f9c78a20bb325983fe7f1823e38884d6a63a314;p=friendica.git Update src/Model/Profile.php Co-Authored-By: Hypolite Petovan --- 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