]> granicus.if.org Git - php/commitdiff
Send $HTTP_POST_FILES to the right place
authorZeev Suraski <zeev@php.net>
Thu, 7 Sep 2000 04:12:31 +0000 (04:12 +0000)
committerZeev Suraski <zeev@php.net>
Thu, 7 Sep 2000 04:12:31 +0000 (04:12 +0000)
main/rfc1867.c

index 3b9f4fc534cff611506d8d691c18be0fd42b27cd..bdff72a2b6082f9f704790ed06f9d940416f5daa 100644 (file)
@@ -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;