mirror of
https://github.com/itflow-org/itflow
synced 2026-03-06 22:04:51 +00:00
Merge pull request #1122 from itflow-org/anon-tck-watcher
Anonymous/Guest tickets - Add the anon email as a watcher
This commit is contained in:
@@ -147,6 +147,11 @@ function addTicket($contact_id, $contact_name, $contact_email, $client_id, $date
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Guest ticket watchers
|
||||||
|
if ($client_id == 0) {
|
||||||
|
mysqli_query($mysqli, "INSERT INTO ticket_watchers SET watcher_email = '$contact_email_esc', watcher_ticket_id = $id");
|
||||||
|
}
|
||||||
|
|
||||||
$data = [];
|
$data = [];
|
||||||
if ($config_ticket_client_general_notifications == 1) {
|
if ($config_ticket_client_general_notifications == 1) {
|
||||||
$subject_email = "Ticket created - [$config_ticket_prefix$ticket_number] - $subject";
|
$subject_email = "Ticket created - [$config_ticket_prefix$ticket_number] - $subject";
|
||||||
|
|||||||
Reference in New Issue
Block a user