Update src/Model/Profile.php
Co-Authored-By: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
3f9c78a20b
commit
3107680e51
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue