mirror of
https://github.com/itflow-org/itflow
synced 2026-03-05 21:34:51 +00:00
Update for long tickets
This commit is contained in:
@@ -1016,7 +1016,7 @@ function addToMailQueue($mysqli, $data)
|
|||||||
$recipient_name = strval($email['recipient_name']);
|
$recipient_name = strval($email['recipient_name']);
|
||||||
$subject = strval($email['subject']);
|
$subject = strval($email['subject']);
|
||||||
$body = strval($email['body']);
|
$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
|
// Check if 'email_queued_at' is set and not empty
|
||||||
if (isset($email['queued_at']) && !empty($email['queued_at'])) {
|
if (isset($email['queued_at']) && !empty($email['queued_at'])) {
|
||||||
|
|||||||
@@ -1513,7 +1513,8 @@ if (isset($_POST['edit_ticket_schedule'])) {
|
|||||||
$user_name = sanitizeInput($row['user_name']);
|
$user_name = sanitizeInput($row['user_name']);
|
||||||
$user_email = sanitizeInput($row['user_email']);
|
$user_email = sanitizeInput($row['user_email']);
|
||||||
$cal_subject = $ticket_number . ": " . $client_name . " - " . $ticket_subject;
|
$cal_subject = $ticket_number . ": " . $client_name . " - " . $ticket_subject;
|
||||||
$cal_description = $ticket_details . " - " . $full_ticket_url;
|
$ticket_details_truncated = substr($ticket_details, 0, 100);
|
||||||
|
$cal_description = $ticket_details_truncated . " - " . $full_ticket_url;
|
||||||
$cal_location = sanitizeInput($row["location_address"]);
|
$cal_location = sanitizeInput($row["location_address"]);
|
||||||
$email_datetime = date('l, F j, Y \a\t g:ia', strtotime($schedule));
|
$email_datetime = date('l, F j, Y \a\t g:ia', strtotime($schedule));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user