Update app_functions.php #53

Merged
MrLyallCSIT merged 3 commits from brokenchecks into main 2020-08-09 21:26:40 +00:00
MrLyallCSIT commented 2020-08-09 21:18:34 +00:00 (Migrated from github.com)
No description provided.
luketainton (Migrated from github.com) requested changes 2020-08-09 21:20:34 +00:00
@@ -18,2 +17,3 @@
$ticket_stmt = "SELECT * FROM tickets WHERE created_by=:uuid";
function get_my_open_requests($db) {
$ticket_stmt = "SELECT * FROM tickets WHERE created_by=:uuid" AND status != 'Closed';
$ticket_sql = $db->prepare($ticket_stmt);
luketainton (Migrated from github.com) commented 2020-08-09 21:20:26 +00:00

Append AND status != 'Closed' to end of statement

Append `AND status != 'Closed'` to end of statement
@@ -24,7 +24,7 @@
return $ticket_result;
luketainton (Migrated from github.com) commented 2020-08-09 21:19:27 +00:00

Change to get_my_closed_requests

Change to `get_my_closed_requests`
luketainton (Migrated from github.com) approved these changes 2020-08-09 21:26:29 +00:00
luketainton (Migrated from github.com) left a comment

Pls work

Pls work
Sign in to join this conversation.