mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 07:35:29 +02:00
Stripslashing escaped string twice ... should only be stipped when necessary and as early as possible
git-svn-id: file:///svn/phpbb/trunk@4312 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
83b28ce6fb
commit
bf2e74be99
@ -407,7 +407,7 @@ class sql_db
|
||||
|
||||
function sql_escape($msg)
|
||||
{
|
||||
return mysql_escape_string(stripslashes($msg));
|
||||
return mysql_escape_string($msg);
|
||||
}
|
||||
|
||||
function sql_error($sql = '')
|
||||
|
Loading…
x
Reference in New Issue
Block a user