Update src/Model/Profile.php

Co-Authored-By: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2020-04-25 23:33:11 +02:00 committed by GitHub
parent 7f17c1484a
commit 37b9031a27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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