summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/rfc1867.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/rfc1867.c b/main/rfc1867.c
index 3b9f4fc534..bdff72a2b6 100644
--- a/main/rfc1867.c
+++ b/main/rfc1867.c
@@ -105,7 +105,7 @@ static void php_mime_split(char *buf, int cnt, char *boundary, zval *array_ptr)
ALLOC_ZVAL(http_post_files);
array_init(http_post_files);
INIT_PZVAL(http_post_files);
- PG(http_globals)[TRACK_VARS_POST] = http_post_files;
+ PG(http_globals)[TRACK_VARS_FILES] = http_post_files;
ptr = buf;
rem = cnt;