Update src/Model/Profile.php
Co-Authored-By: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
3107680e51
commit
7e8bcc9034
|
@ -922,7 +922,8 @@ class Profile
|
||||||
$searchTerm = '%' . $search . '%';
|
$searchTerm = '%' . $search . '%';
|
||||||
|
|
||||||
$profiles = DBA::p("SELECT * FROM `owner-view`
|
$profiles = DBA::p("SELECT * 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 New Issue
Block a user