Mysql escaped notes and itew name and descriptions when you copy an invoice to a recurring invoice as well as fix the cron.php when it converts Recurring into regular invoices

This commit is contained in:
johnny@pittpc.com
2019-09-18 18:13:14 -04:00
parent 705b2cb454
commit e3800e295d
3 changed files with 7 additions and 7 deletions

View File

@@ -1348,7 +1348,7 @@ if(isset($_POST['add_invoice_recurring'])){
$row = mysqli_fetch_array($sql);
$invoice_date = $row['invoice_date'];
$invoice_amount = $row['invoice_amount'];
$invoice_note = $row['invoice_note'];
$invoice_note = mysqli_real_escape_string($mysqli,$row['invoice_note']); //SQL Escape in case notes have , them
$client_id = $row['client_id'];
$category_id = $row['category_id'];