mirror of
https://github.com/itflow-org/itflow
synced 2026-08-17 04:55:13 +00:00
Replace Function sanitizeInput() with just escapeSql() and update all instances throughout
This commit is contained in:
@@ -79,7 +79,7 @@ $sql_tax = mysqli_query($mysqli, "SELECT `tax_name` FROM `taxes`");
|
||||
while ($row = mysqli_fetch_assoc($sql_tax)) {
|
||||
|
||||
$tax_name_raw = $row['tax_name'];
|
||||
$tax_name = sanitizeInput($tax_name_raw);
|
||||
$tax_name = escapeSql($tax_name_raw);
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>" . escapeHtml($tax_name_raw) . "</td>";
|
||||
|
||||
Reference in New Issue
Block a user