Update src/Model/Profile.php
Co-Authored-By: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
37b9031a27
commit
3f9c78a20b
1 changed files with 2 additions and 1 deletions
|
@ -893,7 +893,8 @@ class Profile
|
||||||
if (!empty($search)) {
|
if (!empty($search)) {
|
||||||
$searchTerm = '%' . $search . '%';
|
$searchTerm = '%' . $search . '%';
|
||||||
$cnt = DBA::fetchFirst("SELECT COUNT(*) AS `total` FROM `owner-view`
|
$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
|
AND ((`name` LIKE ?) OR
|
||||||
(`nickname` LIKE ?) OR
|
(`nickname` LIKE ?) OR
|
||||||
(`about` LIKE ?) OR
|
(`about` LIKE ?) OR
|
||||||
|
|
Loading…
Reference in a new issue