diff options
author | Pierre Joye <pajoye@php.net> | 2006-03-08 00:43:32 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2006-03-08 00:43:32 +0000 |
commit | bb1ec86f9da24fe6b49bae68353d53ba96b7228f (patch) | |
tree | 8a395f4ff82f2bfc5dfbb143231340c80ec3d9e4 /ext/sybase/php_sybase_db.c | |
parent | b7d6d705f1e471544418cf8febb62943ece9e8ce (diff) | |
download | php-git-bb1ec86f9da24fe6b49bae68353d53ba96b7228f.tar.gz |
- remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
Diffstat (limited to 'ext/sybase/php_sybase_db.c')
-rw-r--r-- | ext/sybase/php_sybase_db.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/sybase/php_sybase_db.c b/ext/sybase/php_sybase_db.c index 6de16ff104..684fa62dce 100644 --- a/ext/sybase/php_sybase_db.c +++ b/ext/sybase/php_sybase_db.c @@ -858,9 +858,6 @@ PHP_FUNCTION(sybase_query) zval *cur_value = result->data[i][j-1]; convert_to_string(cur_value); - if (PG(magic_quotes_runtime)) { - Z_STRVAL_P(cur_value) = php_addslashes(Z_STRVAL_P(cur_value), Z_STRLEN_P(cur_value), &Z_STRLEN_P(cur_value),0 TSRMLS_CC); - } } } retvalue=dbnextrow(sybase_ptr->link); |