diff --git a/ajax.php b/ajax.php index 9f7e5b18..dfc6df69 100644 --- a/ajax.php +++ b/ajax.php @@ -310,7 +310,7 @@ if (isset($_GET['share_generate_link'])) { if ($item_expires_friendly == "never") { $subject = "$session_company_name secure link enclosed"; } - $body = "Hello,

$session_name from $session_company_name sent you a time sensitive secure link regarding '$item_name'.

The link will expire in $item_expires_friendly and may only be viewed $item_view_limit times, before the link is destroyed.

Click here to access your secure content

~
$session_company_name
Support Department
$config_ticket_from_email"; + $body = mysqli_real_escape_string($mysqli, "Hello,

$session_name from $session_company_name sent you a time sensitive secure link regarding '$item_name'.

The link will expire in $item_expires_friendly and may only be viewed $item_view_limit times, before the link is destroyed.

Click here to access your secure content

~
$session_company_name
Support Department
$config_ticket_from_email"); $data = [ [ @@ -319,7 +319,7 @@ if (isset($_GET['share_generate_link'])) { 'recipient' => $item_email, 'recipient_name' => $item_email, 'subject' => $subject, - 'body' => $body, + 'body' => $body ] ];