mirror of
https://github.com/itflow-org/itflow
synced 2026-03-02 11:54:52 +00:00
SQL Escape client name field to prevent potentially breaking SQL queries
This commit is contained in:
2
cron.php
2
cron.php
@@ -225,7 +225,7 @@ while($row = mysqli_fetch_array($sql_companies)){
|
|||||||
$invoice_amount = $row['invoice_amount'];
|
$invoice_amount = $row['invoice_amount'];
|
||||||
$invoice_currency_code = $row['invoice_currency_code'];
|
$invoice_currency_code = $row['invoice_currency_code'];
|
||||||
$client_id = $row['client_id'];
|
$client_id = $row['client_id'];
|
||||||
$client_name = $row['client_name'];
|
$client_name = mysqli_real_escape_string($mysqli,$row['client_name']);
|
||||||
$contact_name = $row['contact_name'];
|
$contact_name = $row['contact_name'];
|
||||||
$contact_email = $row['contact_email'];
|
$contact_email = $row['contact_email'];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user