From f42a142f97a7816dcf75ecd93ce6437c4ff2c8bf Mon Sep 17 00:00:00 2001 From: ruan <2369127-ruany@users.noreply.gitlab.com> Date: Thu, 11 Aug 2022 21:29:20 +0200 Subject: [PATCH] Fix silent kicks always being displayed --- inc/page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/page.php b/inc/page.php index aa72e6d..cbfe185 100644 --- a/inc/page.php +++ b/inc/page.php @@ -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");