aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db/mysql.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/db/mysql.php')
-rw-r--r--phpBB/db/mysql.php5
1 files changed, 5 insertions, 0 deletions
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 )