diff --git a/admin_app_log.php b/admin_app_log.php index ac5283b5..f5aa1970 100644 --- a/admin_app_log.php +++ b/admin_app_log.php @@ -9,21 +9,21 @@ require_once "includes/inc_all_admin.php"; // Log Type Filter if (isset($_GET['type']) & !empty($_GET['type'])) { $log_type_query = "AND (app_log_type = '" . sanitizeInput($_GET['type']) . "')"; - $type = nullable_htmlentities($_GET['type']); + $type_filter = nullable_htmlentities($_GET['type']); } else { // Default - any $log_type_query = ''; - $type = ''; + $type_filter = ''; } // Log Category Filter if (isset($_GET['category']) & !empty($_GET['catergory'])) { $log_category_query = "AND (app_log_category = '" . sanitizeInput($_GET['category']) . "')"; - $category = nullable_htmlentities($_GET['category']); + $category_filter = nullable_htmlentities($_GET['category']); } else { // Default - any $log_category_query = ''; - $category = ''; + $category_filter = ''; } //Rebuild URL @@ -63,14 +63,14 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));