From 493a689b1eddc2d8db2078e487596322ce86dfc2 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 7 Jan 2003 14:45:12 +0000 Subject: We'll try and get it right this time ... git-svn-id: file:///svn/phpbb/trunk@3265 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/db/mysql.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/db/mysql.php') diff --git a/phpBB/db/mysql.php b/phpBB/db/mysql.php index 132b64f79f..256a7361ad 100644 --- a/phpBB/db/mysql.php +++ b/phpBB/db/mysql.php @@ -379,6 +379,11 @@ class sql_db return ( $query_id ) ? @mysql_free_result($query_id) : false; } + function sql_escape($msg) + { + return mysql_escape_string($msg); + } + function sql_error($sql = '') { if ( !$this->return_on_error ) -- cgit v1.2.1