diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-07-22 14:08:40 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-07-22 14:08:40 +0000 |
commit | bf2e74be99ea54eeeb2da15d89c8932d6ddd5231 (patch) | |
tree | 6a19ffe6a70f00237931e316e7c70146a8927375 /phpBB/includes/db/mysql.php | |
parent | 83b28ce6fb4d7cd0db942d54a88fd873da89234c (diff) | |
download | forums-bf2e74be99ea54eeeb2da15d89c8932d6ddd5231.tar forums-bf2e74be99ea54eeeb2da15d89c8932d6ddd5231.tar.gz forums-bf2e74be99ea54eeeb2da15d89c8932d6ddd5231.tar.bz2 forums-bf2e74be99ea54eeeb2da15d89c8932d6ddd5231.tar.xz forums-bf2e74be99ea54eeeb2da15d89c8932d6ddd5231.zip |
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
Diffstat (limited to 'phpBB/includes/db/mysql.php')
-rw-r--r-- | phpBB/includes/db/mysql.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/mysql.php b/phpBB/includes/db/mysql.php index ad12650af0..0e5a8d5c41 100644 --- a/phpBB/includes/db/mysql.php +++ b/phpBB/includes/db/mysql.php @@ -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 = '') |