This commit is contained in:
RobinNixon
2023-09-27 12:55:25 +01:00
parent 868ba0e8a1
commit 091d2e2e45
4 changed files with 2 additions and 6 deletions
+1 -3
View File
@@ -49,9 +49,7 @@
$var = strip_tags($var);
$var = htmlentities($var);
if (get_magic_quotes_gpc())
$var = stripslashes($var);
$var = stripslashes($var);
$result = $pdo->quote($var); // This adds single quotes
return str_replace("'", "", $result); // So now remove them
BIN
View File
Binary file not shown.
Binary file not shown.
+1 -3
View File
@@ -49,9 +49,7 @@
$var = strip_tags($var);
$var = htmlentities($var);
if (get_magic_quotes_gpc())
$var = stripslashes($var);
$var = stripslashes($var);
$result = $pdo->quote($var); // This adds single quotes
return str_replace("'", "", $result); // So now remove them