Fix mis-spelling sanitize not santize

This commit is contained in:
johnnyq 2024-01-19 19:37:34 -05:00
parent 79175b9e70
commit a656340c8b
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ function addReply($from_email, $date, $subject, $ticket_number, $message, $attac
// Get tech details
$tech_sql = mysqli_query($mysqli, "SELECT user_email, user_name FROM users WHERE user_id = $ticket_assigned_to LIMIT 1");
$tech_row = mysqli_fetch_array($tech_sql);
$tech_email = santizeInput($tech_row['user_email']);
$tech_email = sanitizeInput($tech_row['user_email']);
$tech_name = sanitizeInput($tech_row['user_name']);
$subject = mysqli_escape_string($mysqli, "Ticket updated - [$config_ticket_prefix$ticket_number] - $subject");