diff --git a/src/Model/Profile.php b/src/Model/Profile.php index dc7e02642a..d834024103 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -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 + ); } }