1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 22:40:39 +02:00

- only minor adjustements (we are now able to use other functions due to the increased php requirements)

git-svn-id: file:///svn/phpbb/trunk@5557 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-02-16 10:26:52 +00:00
parent 2ec9c9c82c
commit f2f0dc7892
4 changed files with 20 additions and 10 deletions

View File

@@ -276,7 +276,12 @@ class dbal_mysql extends dbal
*/
function sql_escape($msg)
{
return mysql_escape_string($msg);
if (!$this->db_connect_id)
{
return @mysql_real_escape_string($msg);
}
return @mysql_real_escape_string($msg, $this->db_connect_id);
}
/**