mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
We'll try and get it right this time ...
git-svn-id: file:///svn/phpbb/trunk@3265 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -403,14 +403,9 @@ class sql_db
|
||||
return ( $query_id ) ? mssql_free_result($query_id) : false;
|
||||
}
|
||||
|
||||
function sql_quote($sql)
|
||||
function sql_escape($msg)
|
||||
{
|
||||
return str_replace("\'", "''", $sql);
|
||||
}
|
||||
|
||||
function sql_escape($sql)
|
||||
{
|
||||
return str_replace("'", "''", str_replace('\\', '\\\\', $sql));
|
||||
return str_replace("'", "''", str_replace('\\', '\\\\', $msg));
|
||||
}
|
||||
|
||||
function sql_error($query_id = 0)
|
||||
|
Reference in New Issue
Block a user