From 1ccac6ed55a4d8cf93b38a1df56e640efa869da2 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Mon, 11 Sep 2000 14:50:26 +0000 Subject: Add additional parameter to parse_str for saving result (thanks to John Bafford ) @ Added second parameter for parse_str to save result (John Bafford) --- main/php_variables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/php_variables.c') diff --git a/main/php_variables.c b/main/php_variables.c index 65baee6248..4187d00eba 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -209,7 +209,7 @@ SAPI_POST_HANDLER_FUNC(php_std_post_handler) } -void php_treat_data(int arg, char *str ELS_DC PLS_DC SLS_DC) +void php_treat_data(int arg, char *str, zval* destArray ELS_DC PLS_DC SLS_DC) { char *res = NULL, *var, *val; pval *array_ptr; @@ -236,7 +236,7 @@ void php_treat_data(int arg, char *str ELS_DC PLS_DC SLS_DC) } break; default: - array_ptr=NULL; + array_ptr=destArray; break; } -- cgit v1.2.1