Remove bad reference to session user id for portal post new ticket logging

This commit is contained in:
Marcus Hill 2022-03-21 21:25:03 +00:00
parent c974251e93
commit 9378b3eec4
1 changed files with 1 additions and 1 deletions

View File

@ -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);