summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2000-07-06 17:40:18 +0000
committerStanislav Malyshev <stas@php.net>2000-07-06 17:40:18 +0000
commit905fb8ef82071d65ea96df6f4738590941568fc1 (patch)
treeeb8e3773951b93aaa4e938ad908b10b096de5286 /sapi
parent45ca7ec17d7d9cc0f57f89a403a60064e3ddbd25 (diff)
downloadphp-git-905fb8ef82071d65ea96df6f4738590941568fc1.tar.gz
Fix #5432: should register all variables. Thanks jeroen@darius.demon.nl.
Diffstat (limited to 'sapi')
-rw-r--r--sapi/apache/mod_php4.c2
1 files changed, 1 insertions, 1 deletions
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 */