diff options
author | Zeev Suraski <zeev@php.net> | 1999-09-04 13:18:59 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-09-04 13:18:59 +0000 |
commit | c12d4bc7d46654c526ba94f48ff49c88b2838a91 (patch) | |
tree | 97dacc1f998ce47567a79098c0b50a709e5f6628 /ext/mysql/php_mysql.c | |
parent | 6d4ab7372df97b2200a041a9e9fb093f92946797 (diff) | |
download | php-git-c12d4bc7d46654c526ba94f48ff49c88b2838a91.tar.gz |
*** empty log message ***
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r-- | ext/mysql/php_mysql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index f1ddd716ac..436b1bd871 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -1257,7 +1257,7 @@ PHP_FUNCTION(mysql_result) if (sql_row[field_offset]) { if (PG(magic_quotes_runtime)) { - return_value->value.str.val = _php3_addslashes(sql_row[field_offset],sql_row_lengths[field_offset],&return_value->value.str.len,0); + return_value->value.str.val = php_addslashes(sql_row[field_offset],sql_row_lengths[field_offset],&return_value->value.str.len,0); } else { return_value->value.str.len = sql_row_lengths[field_offset]; return_value->value.str.val = (char *) safe_estrndup(sql_row[field_offset],return_value->value.str.len); @@ -1364,7 +1364,7 @@ static void php_mysql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type) int should_copy; if (PG(magic_quotes_runtime)) { - data = _php3_addslashes(mysql_row[i],mysql_row_lengths[i],&data_len,0); + data = php_addslashes(mysql_row[i],mysql_row_lengths[i],&data_len,0); should_copy = 0; } else { data = mysql_row[i]; |