diff --git a/agent/post/recurring_ticket.php b/agent/post/recurring_ticket.php index a77e90d11..8ecb5946d 100644 --- a/agent/post/recurring_ticket.php +++ b/agent/post/recurring_ticket.php @@ -473,7 +473,6 @@ if (isset($_POST['bulk_assign_recurring_ticket'])) { $sql = mysqli_query($mysqli, "SELECT * FROM recurring_tickets WHERE recurring_ticket_id = $recurring_ticket_id"); $row = mysqli_fetch_assoc($sql); - $recurring_ticket_name = escapeSql($row['recurring_ticket_name']); $recurring_ticket_subject = escapeSql($row['recurring_ticket_subject']); $client_id = intval($row['recurring_ticket_client_id']); diff --git a/agent/post/ticket.php b/agent/post/ticket.php index 8abc7f5ae..8fb35b1ee 100644 --- a/agent/post/ticket.php +++ b/agent/post/ticket.php @@ -1066,7 +1066,6 @@ if (isset($_POST['bulk_assign_ticket'])) { $ticket_prefix = escapeSql($row['ticket_prefix']); $ticket_number = intval($row['ticket_number']); $ticket_status = intval($row['ticket_status']); - $ticket_name = escapeSql($row['ticket_name']); $ticket_subject = escapeSql($row['ticket_subject']); $client_id = intval($row['ticket_client_id']); diff --git a/guest/guest_pay_invoice_stripe.php b/guest/guest_pay_invoice_stripe.php index adf94050b..d32258aa3 100644 --- a/guest/guest_pay_invoice_stripe.php +++ b/guest/guest_pay_invoice_stripe.php @@ -56,7 +56,6 @@ if (isset($_GET['invoice_id'], $_GET['url_key']) && !isset($_GET['payment_intent $sql_company = mysqli_query($mysqli, "SELECT * FROM companies WHERE company_id = 1"); $company_row = mysqli_fetch_assoc($sql_company); $company_locale = escapeHtml($company_row['company_locale']); - $config_base_url = escapeHtml($company_row['company_base_url'] ?? ''); // You might want to pull from settings if needed // Add up all payments made to the invoice $sql_amount_paid = mysqli_query($mysqli, "SELECT SUM(payment_amount) AS amount_paid FROM payments WHERE payment_invoice_id = $invoice_id");