Update src/Model/Profile.php
Co-Authored-By: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
7f17c1484a
commit
37b9031a27
1 changed files with 7 additions and 1 deletions
|
@ -936,7 +936,13 @@ class Profile
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$profiles = DBA::p("SELECT * FROM `owner-view`
|
$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