From 6132ce81e1afa282509793744f0120243c0df163 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Fri, 4 Feb 2022 16:58:30 -0500 Subject: [PATCH] oopps Forgot the r in strip_tags --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index 5a78eb6d..8383398e 100644 --- a/api.php +++ b/api.php @@ -6,7 +6,7 @@ include("config.php"); // Get user IP $ip = strip_tags(mysqli_real_escape_string($mysqli,get_ip())); // Get user agent -$user_agent = stip_tags(mysqli_real_escape_string($mysqli,$_SERVER['HTTP_USER_AGENT'])); +$user_agent = strip_tags(mysqli_real_escape_string($mysqli,$_SERVER['HTTP_USER_AGENT'])); // Check API key is provided in GET request as 'api_key' if(!isset($_GET['api_key']) OR empty($_GET['api_key'])) {