diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2002-09-08 00:28:09 +0000 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2002-09-08 00:28:09 +0000 |
commit | 4525c81344bbc5e63e3d9bf52572694b9a70430e (patch) | |
tree | 78528ce43b6dd7384179851c509ca7fc55338fd9 | |
parent | eda0fe670fb486d9bda2a27d70ed281d3bd53984 (diff) | |
download | php-git-4525c81344bbc5e63e3d9bf52572694b9a70430e.tar.gz |
MFH
-rw-r--r-- | main/php_variables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c index c64661b865..412d1aeb56 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -300,7 +300,7 @@ void php_treat_data(int arg, char *str, zval* destArray TSRMLS_DC) *val++ = '\0'; php_url_decode(var, strlen(var)); - val_len = php_url_decode(val, val-var); + val_len = php_url_decode(val, strlen(val)); php_register_variable_safe(var, val, val_len, array_ptr TSRMLS_CC); } else { |