mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Fixes escape string by using custom function #18
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user