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);
} 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)) {