Categories: Fix Restore function and restore icon and color

This commit is contained in:
johnnyq
2026-04-04 18:22:05 -04:00
parent e7ed88e10e
commit c434b5e6f0
2 changed files with 3 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ if (isset($_GET['restore_category'])) {
validateCSRFToken($_GET['csrf_token']);
$category_id = intval($_GET['retore_category']);
$category_id = intval($_GET['restore_category']);
// Get Category Name and Type for logging
$sql = mysqli_query($mysqli,"SELECT category_name, category_type FROM categories WHERE category_id = $category_id");