We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ece58eb commit 02a3d12Copy full SHA for 02a3d12
classes/Database/mysql.php
@@ -73,7 +73,7 @@ function escape($string) {
73
if (is_null($string))
74
return 'NULL';
75
// Just a string
76
- return str_replace('?', '\\?', "'".mysqli_real_escape_string($string, $this->dbh)."'");
+ return str_replace('?', '\\?', "'".mysqli_real_escape_string($this->dbh, $string)."'");
77
}
78
79
/**
0 commit comments