From dcb8dab3a637a560c06f32155494b7a2008df53c Mon Sep 17 00:00:00 2001 From: Alexander Davis Date: Sun, 9 Aug 2020 22:18:20 +0100 Subject: [PATCH] Update app_functions.php --- app/includes/app_functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/includes/app_functions.php b/app/includes/app_functions.php index 4eeb65a..575f0ec 100644 --- a/app/includes/app_functions.php +++ b/app/includes/app_functions.php @@ -14,7 +14,7 @@ return $usr; } - function get_my_requests($db) { + function get_my_open_requests($db) { $ticket_stmt = "SELECT * FROM tickets WHERE created_by=:uuid"; $ticket_sql = $db->prepare($ticket_stmt); $ticket_sql->bindParam(':uuid', $_SESSION['uuid']); @@ -24,7 +24,7 @@ return $ticket_result; } - function get_my_open_requests($db) { + function get_my_requests($db) { $ticket_stmt = "SELECT * FROM tickets WHERE created_by=:uuid AND status = 'Closed'"; $ticket_sql = $db->prepare($ticket_stmt); $ticket_sql->bindParam(':uuid', $_SESSION['uuid']);