Fixes escape string by using custom function #18

This commit is contained in:
Stefan Brannfjell
2014-02-06 22:51:05 +01:00
parent 29a7de9751
commit 801e0bcbef
4 changed files with 6 additions and 6 deletions

View File

@@ -199,7 +199,7 @@ if ($connect->connect_errno) {
die("Failed to connect to MySQL: (" . $connect->connect_errno . ") " . $connect->connect_error . $install);
}
function mysql_real_escape_string($escapestr) {
function mysql_znote_escape_string($escapestr) {
global $connect;
return mysqli_real_escape_string($connect, $escapestr);
}