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

View File

@ -906,7 +906,7 @@ class Profile
$searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm); $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm);
} else { } else {
$cnt = DBA::fetchFirst("SELECT COUNT(*) AS `total` $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)) { if (DBA::isResult($cnt)) {