From 1e8f852f73fd0ab2d6b9321cf8101f591e0ba038 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Fri, 27 Aug 2021 23:55:23 -0400 Subject: [PATCH] Missing $ for var in POST --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index 555d07c1..d44e1452 100644 --- a/post.php +++ b/post.php @@ -4370,7 +4370,7 @@ if(isset($_GET['force_recurring'])){ mysqli_query($mysqli,"UPDATE invoices SET invoice_amount = '$new_recurring_amount' WHERE invoice_id = $new_invoice_id"); if($config_recurring_auto_send_invoice == 1){ - sql = mysqli_query($mysqli,"SELECT * FROM invoices + $sql = mysqli_query($mysqli,"SELECT * FROM invoices LEFT JOIN clients ON invoice_client_id = client_id LEFT JOIN contacts ON contact_id = primary_contact LEFT JOIN companies ON invoices.company_id = companies.company_id