Update src/Model/Profile.php
Co-Authored-By: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
7f17c1484a
commit
37b9031a27
|
@ -936,7 +936,13 @@ class Profile
|
|||
);
|
||||
} else {
|
||||
$profiles = DBA::p("SELECT * FROM `owner-view`
|
||||
WHERE $publish AND NOT `blocked` AND NOT `account_removed` $order LIMIT ?,?", $start, $count);
|
||||
WHERE NOT `blocked` AND NOT `account_removed`
|
||||
$publish
|
||||
$order
|
||||
LIMIT ?, ?",
|
||||
$start,
|
||||
$count
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue