Updates
This commit is contained in:
@@ -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
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user