diff --git a/admin/includes/side_nav.php b/admin/includes/side_nav.php index dabf89d8..e2fedd98 100644 --- a/admin/includes/side_nav.php +++ b/admin/includes/side_nav.php @@ -162,7 +162,7 @@

- + Ticket Templates

diff --git a/admin/modals/category/category_add.php b/admin/modals/category/category_add.php index 52d9769d..8fa6ac74 100644 --- a/admin/modals/category/category_add.php +++ b/admin/modals/category/category_add.php @@ -2,7 +2,9 @@ require_once '../../../includes/modal_header.php'; -$category = nullable_htmlentities($_GET['category']); +$category = nullable_htmlentities($_GET['category'] ?? ''); + +$category_types_array = ['Expense', 'Income', 'Referral', 'Ticket']; ?> @@ -13,10 +15,30 @@ $category = nullable_htmlentities($_GET['category']);
-