Update for long tickets

This commit is contained in:
o-psi
2024-02-10 02:42:37 +00:00
parent 5ac03e7086
commit 12f6f86581
2 changed files with 3 additions and 2 deletions

View File

@@ -1016,7 +1016,7 @@ function addToMailQueue($mysqli, $data)
$recipient_name = strval($email['recipient_name']);
$subject = strval($email['subject']);
$body = strval($email['body']);
$cal_str = strval($email['cal_str']);
$cal_str = mysqli_escape_string($mysqli,$email['cal_str']);
// Check if 'email_queued_at' is set and not empty
if (isset($email['queued_at']) && !empty($email['queued_at'])) {