diff options
author | Sterling Hughes <sterling@php.net> | 2002-10-28 20:16:24 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2002-10-28 20:16:24 +0000 |
commit | 4ba703577b28802beb735b1422f5519ad2b9c1b9 (patch) | |
tree | cd1d1a107865af0faf19add3e3bbc2d284790c11 /ext/mssql/php_mssql.c | |
parent | 47e1163e01ba0ffd57b68c0f2f747fa0b50fabcd (diff) | |
download | php-git-4ba703577b28802beb735b1422f5519ad2b9c1b9.tar.gz |
fix bug # 17497
(fix by: ddb@bitxtender.de)
Diffstat (limited to 'ext/mssql/php_mssql.c')
-rw-r--r-- | ext/mssql/php_mssql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c index f6ff192d12..f538ca02b8 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -1219,7 +1219,7 @@ static void php_mssql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type) if (Z_TYPE(result->data[result->cur_row][i]) == IS_STRING) { if (PG(magic_quotes_runtime)) { - data = php_addslashes(Z_STRVAL(result->data[result->cur_row][i]), Z_STRLEN(result->data[result->cur_row][i]), &Z_STRLEN(result->data[result->cur_row][i]), 1 TSRMLS_CC); + data = php_addslashes(Z_STRVAL(result->data[result->cur_row][i]), Z_STRLEN(result->data[result->cur_row][i]), &data_len, 0 TSRMLS_CC); should_copy = 0; } else |