From 9378b3eec472f684de9f118336011fbef4f37a90 Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Mon, 21 Mar 2022 21:25:03 +0000 Subject: [PATCH] Remove bad reference to session user id for portal post new ticket logging --- portal/portal_post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portal/portal_post.php b/portal/portal_post.php index 511138a0..ccfa4653 100644 --- a/portal/portal_post.php +++ b/portal/portal_post.php @@ -128,7 +128,7 @@ if(isset($_POST['add_ticket'])){ $id = mysqli_insert_id($mysqli); //Logging - mysqli_query($mysqli,"INSERT INTO logs SET log_type = 'Ticket', log_action = 'Create', log_description = 'Client contact $session_contact_name created ticket $subject', log_created_at = NOW(), log_client_id = $client_id, company_id = $session_company_id, log_user_id = $session_user_id"); + mysqli_query($mysqli,"INSERT INTO logs SET log_type = 'Ticket', log_action = 'Create', log_description = 'Client contact $session_contact_name created ticket $subject', log_created_at = NOW(), log_client_id = $client_id, company_id = $session_company_id"); header("Location: ticket.php?id=" . $id);