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

index d83402410387a22ca415b3ec14fdd40be95eac25..261c7cc22e8d7581cc94ba393af910e052ae37eb 100644 (file)
@@ -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