From: Stanislav Malyshev Date: Thu, 6 Jul 2000 17:40:18 +0000 (+0000) Subject: Fix #5432: should register all variables. Thanks jeroen@darius.demon.nl. X-Git-Tag: PRE_FILE_COMPILE_API_CHANGE~377 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=905fb8ef82071d65ea96df6f4738590941568fc1;p=php Fix #5432: should register all variables. Thanks jeroen@darius.demon.nl. --- diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index 774769eb04..6a4e28674c 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -255,7 +255,7 @@ static void sapi_apache_register_server_variables(zval *track_vars_array ELS_DC } else { val = empty_string; } - php_register_variable(elts[i].key, val, NULL ELS_CC PLS_CC); + php_register_variable(elts[i].key, val, track_vars_array ELS_CC PLS_CC); } /* insert special variables */