Errata amendments

This commit is contained in:
RobinNixon
2021-11-16 12:23:58 +00:00
parent eeb4267820
commit fc6b9f4df3
11 changed files with 27 additions and 59 deletions
+1 -1
View File
@@ -7,6 +7,6 @@
function mysql_fix_string($pdo, $string)
{
if (get_magic_quotes_gpc()) $string = stripslashes($string);
return $pdo->real_escape_string($string);
return $pdo->quote($string);
}
?>