Skip to content

Commit

Permalink
Fix typo in ticket archived logging
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongecho committed Nov 14, 2024
1 parent e4f618c commit fc94d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post/user/ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,7 @@
mysqli_query($mysqli, "UPDATE ticket_replies SET ticket_reply_archived_at = NOW() WHERE ticket_reply_id = $ticket_reply_id");

//Logging
mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Ticket Reply', log_action = 'Archive', log_description = '$session_name arhived ticket reply', log_ip = '$session_ip', log_user_agent = '$session_user_agent', log_user_id = $session_user_id, log_entity_id = $ticket_reply_id");
mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Ticket Reply', log_action = 'Archive', log_description = '$session_name archived ticket reply', log_ip = '$session_ip', log_user_agent = '$session_user_agent', log_user_id = $session_user_id, log_entity_id = $ticket_reply_id");

$_SESSION['alert_type'] = "error";
$_SESSION['alert_message'] = "Ticket reply archived";
Expand Down

0 comments on commit fc94d71

Please sign in to comment.