]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Model/Profile.php
authorMichael Vogel <icarus@dabo.de>
Sun, 26 Apr 2020 06:04:34 +0000 (08:04 +0200)
committerGitHub <noreply@github.com>
Sun, 26 Apr 2020 06:04:34 +0000 (08:04 +0200)
Co-Authored-By: Hypolite Petovan <hypolite@mrpetovan.com>
src/Model/Profile.php

index 9311df83b60a96fa8fd7fbb6977fde0e70e6dacc..e534741232b7f30f27a9bbe2510fe5861408d76b 100644 (file)
@@ -922,7 +922,8 @@ class Profile
                                $searchTerm = '%' . $search . '%';
 
                                $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
                                                (`nickname` LIKE ?) OR
                                                (`about` LIKE ?) OR