mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
update tickets.php
This commit is contained in:
@@ -37,12 +37,13 @@ if (isset($_GET['status']) && is_array($_GET['status']) && !empty($_GET['status'
|
||||
}
|
||||
|
||||
if (isset($_GET['category'])) {
|
||||
if ($_GET['category'] == 'empty') {
|
||||
$category = sanitizeInput($_GET['category']);
|
||||
if ($category == 'empty') {
|
||||
$category_snippet = "AND ticket_category = 0 ";
|
||||
} elseif ($_GET['category'] == 'all') {
|
||||
} elseif ($category == 'all') {
|
||||
$category_snippet = "";
|
||||
} else {
|
||||
$category_snippet = "AND ticket_category = " . $_GET['category'];
|
||||
$category_snippet = "AND ticket_category = " . $category;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user