1
0
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:
Paul S. Owen 2003-07-22 14:08:40 +00:00
parent 83b28ce6fb
commit bf2e74be99

View File

@ -407,7 +407,7 @@ class sql_db
function sql_escape($msg) function sql_escape($msg)
{ {
return mysql_escape_string(stripslashes($msg)); return mysql_escape_string($msg);
} }
function sql_error($sql = '') function sql_error($sql = '')