Fix silent kicks always being displayed

This commit is contained in:
ruan 2022-08-11 21:29:20 +02:00
parent b77ba15659
commit f42a142f97

View File

@ -185,7 +185,7 @@ class Page {
$select = $this->get_selection($table); // Not user input $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)"; $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"); $st = $this->conn->prepare("SELECT $select FROM $table $where ORDER BY time DESC LIMIT :limit OFFSET :offset");