We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc558bf commit c47d357Copy full SHA for c47d357
main/rfc1867.c
@@ -197,6 +197,7 @@ PHPAPI void destroy_uploaded_files_hash(void) /* {{{ */
197
} ZEND_HASH_FOREACH_END();
198
zend_hash_destroy(SG(rfc1867_uploaded_files));
199
FREE_HASHTABLE(SG(rfc1867_uploaded_files));
200
+ SG(rfc1867_uploaded_files) = NULL;
201
}
202
/* }}} */
203
@@ -1157,7 +1158,7 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) /* {{{ */
1157
1158
register_http_post_files_variable(lbuf, s, &PG(http_globals)[TRACK_VARS_FILES], 0);
1159
s = NULL;
1160
- /* Add full path of supplied file for folder uploads via
1161
+ /* Add full path of supplied file for folder uploads via
1162
* <input type="file" name="files" multiple webkitdirectory>
1163
*/
1164
/* Add $foo[full_path] */
0 commit comments