mirror of
https://github.com/itflow-org/itflow
synced 2026-08-19 05:55:11 +00:00
Replace Function sanitizeInput() with just escapeSql() and update all instances throughout
This commit is contained in:
@@ -9,7 +9,7 @@ if (!isset($_GET['invoice_id'], $_GET['url_key'])) {
|
||||
exit();
|
||||
}
|
||||
|
||||
$url_key = sanitizeInput($_GET['url_key']);
|
||||
$url_key = escapeSql($_GET['url_key']);
|
||||
$invoice_id = intval($_GET['invoice_id']);
|
||||
|
||||
$sql = mysqli_query(
|
||||
@@ -45,7 +45,7 @@ $invoice_note = escapeHtml($row['invoice_note']);
|
||||
$invoice_category_id = intval($row['invoice_category_id']);
|
||||
$client_id = intval($row['client_id']);
|
||||
$client_name = escapeHtml($row['client_name']);
|
||||
$client_name_escaped = sanitizeInput($row['client_name']);
|
||||
$client_name_escaped = escapeSql($row['client_name']);
|
||||
$location_address = escapeHtml($row['location_address']);
|
||||
$location_city = escapeHtml($row['location_city']);
|
||||
$location_state = escapeHtml($row['location_state']);
|
||||
|
||||
Reference in New Issue
Block a user