Fix Archive Taxes

This commit is contained in:
johnnyq
2025-01-18 16:48:39 -05:00
parent 5382676fc1
commit 22e9699b20
2 changed files with 11 additions and 7 deletions

View File

@@ -48,7 +48,7 @@ if (isset($_GET['archive_tax'])) {
$tax_id = intval($_GET['archive_tax']);
// Get Tax Name for logging
$sql = mysqli_query($mysqli,"SELECT tax_name FROM taxs WHERE tax_id = $tax_id");
$sql = mysqli_query($mysqli,"SELECT tax_name FROM taxes WHERE tax_id = $tax_id");
$row = mysqli_fetch_array($sql);
$tax_name = sanitizeInput($row['tax_name']);