diff options
Diffstat (limited to 'phpBB/db/mysql4.php')
-rw-r--r-- | phpBB/db/mysql4.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/db/mysql4.php b/phpBB/db/mysql4.php index 6c1b027697..d6f00ed1d6 100644 --- a/phpBB/db/mysql4.php +++ b/phpBB/db/mysql4.php @@ -379,6 +379,16 @@ if (!empty($_REQUEST['explain'])) return ( $query_id ) ? @mysql_free_result($query_id) : false; } + function sql_quote($msg) + { + return mysql_escape_string($msg); + } + + function sql_escape($msg) + { + return mysql_escape_string($msg); + } + function sql_error($sql = '') { if ( !$this->return_on_error ) |