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

index 261c7cc22e8d7581cc94ba393af910e052ae37eb..9311df83b60a96fa8fd7fbb6977fde0e70e6dacc 100644 (file)
@@ -906,7 +906,7 @@ class Profile
                                $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm);
                } else {
                        $cnt = DBA::fetchFirst("SELECT COUNT(*) AS `total`
-                               FROM `owner-view` WHERE $publish AND NOT `blocked` AND NOT `account_removed`");
+                               FROM `owner-view` WHERE NOT `blocked` AND NOT `account_removed` $publish");
                }
 
                if (DBA::isResult($cnt)) {