Update src/Model/Profile.php
Co-Authored-By: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
37b9031a27
commit
3f9c78a20b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue