From 905fb8ef82071d65ea96df6f4738590941568fc1 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Thu, 6 Jul 2000 17:40:18 +0000 Subject: [PATCH] Fix #5432: should register all variables. Thanks jeroen@darius.demon.nl. --- sapi/apache/mod_php4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.50.1