mirror of
https://github.com/itflow-org/itflow
synced 2026-03-09 07:14:51 +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 (isset($_GET['category'])) {
|
||||||
if ($_GET['category'] == 'empty') {
|
$category = sanitizeInput($_GET['category']);
|
||||||
|
if ($category == 'empty') {
|
||||||
$category_snippet = "AND ticket_category = 0 ";
|
$category_snippet = "AND ticket_category = 0 ";
|
||||||
} elseif ($_GET['category'] == 'all') {
|
} elseif ($category == 'all') {
|
||||||
$category_snippet = "";
|
$category_snippet = "";
|
||||||
} else {
|
} else {
|
||||||
$category_snippet = "AND ticket_category = " . $_GET['category'];
|
$category_snippet = "AND ticket_category = " . $category;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user