mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 08:29:06 +00:00
Fix silent kicks always being displayed
This commit is contained in:
parent
b77ba15659
commit
f42a142f97
@ -185,7 +185,7 @@ class Page {
|
||||
|
||||
$select = $this->get_selection($table); // Not user input
|
||||
|
||||
$where = $this->where_append($this->name === "kicks" ? "" : $this->db->active_query); // Not user input
|
||||
$where = $this->where_append($this->db->active_query); // Not user input
|
||||
$where .= "(uuid <> '#offline#' AND uuid IS NOT NULL)";
|
||||
|
||||
$st = $this->conn->prepare("SELECT $select FROM $table $where ORDER BY time DESC LIMIT :limit OFFSET :offset");
|
||||
|
Loading…
x
Reference in New Issue
Block a user