Update src/Model/Profile.php

Co-Authored-By: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2020-04-26 08:04:03 +02:00 committed by GitHub
parent 37b9031a27
commit 3f9c78a20b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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