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

@@ -29,7 +29,7 @@
// FUNCTIONS
function sanitize($data)/* Security reasons */ {
return htmlentities(strip_tags(mysql_real_escape_string($data)));
return htmlentities(strip_tags(mysql_znote_escape_string($data)));
}
function user_data($user_id)/* account data */ {
$data = array();