From 8db5716d5304e5e3d3877dbf527e379d1f60f1df Mon Sep 17 00:00:00 2001 From: Grand Philippe Date: Sat, 12 Nov 2011 14:21:53 +0100 Subject: [PATCH] Fix tiny language error --- htdocs/main.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 5a214c0466c..f9408b2896b 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -73,7 +73,7 @@ if (function_exists('get_magic_quotes_gpc')) // magic_quotes_* removed in PHP6 function test_sql_and_script_inject($val, $type) { $sql_inj = 0; - // For SQL Injection (onyl GET and POST are used to be included into bad escaped SQL requests) + // For SQL Injection (only GET and POST are used to be included into bad escaped SQL requests) if ($type != 2) { $sql_inj += preg_match('/delete[\s]+from/i', $val);