From 5f007029b4f293dbb5f4885ca42021ee370e0d7d Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 7 Jun 2025 00:58:56 -0400 Subject: [PATCH] Fix Category --- tickets.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tickets.php b/tickets.php index 7f4c4637..5d02e799 100644 --- a/tickets.php +++ b/tickets.php @@ -55,7 +55,7 @@ if (isset($_GET['billable']) && ($_GET['billable']) == '1') { $ticket_billable_snippet = ''; } -if (isset($_GET['category'])) { +if (!empty($_GET['category'])) { $category = intval($_GET['category']); $category_snippet = "AND ticket_category = $category"; } else { @@ -219,7 +219,7 @@ $sql_categories = mysqli_query( Categories