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:34 +02:00 committed by GitHub
parent 3107680e51
commit 7e8bcc9034
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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