From 45b686dafce4388b6ae754767f017d7d28ff2313 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 1 Mar 2023 14:09:58 -0500 Subject: [PATCH] Fix issue with cron not sending recurring emails due to a misspelling --- cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.php b/cron.php index a1629065..8badce72 100644 --- a/cron.php +++ b/cron.php @@ -428,7 +428,7 @@ while ($row = mysqli_fetch_array($sql_companies)) { $category_id = intval($row['recurring_category_id']); $client_id = intval($row['recurring_client_id']); $client_name = sanitizeInput($row['client_name']); //Escape SQL just in case a name is like Safran's etc - $client_net_terms = intvak($row['client_net_terms']); + $client_net_terms = intval($row['client_net_terms']); //Get the last Invoice Number and add 1 for the new invoice number