mirror of
https://github.com/php/php-src.git
synced 2026-04-09 00:53:30 +02:00
No use of populating the hash if there is no file saved.
This commit is contained in:
@@ -714,11 +714,10 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler)
|
||||
}
|
||||
temp_filename="";
|
||||
|
||||
} else {
|
||||
zend_hash_add(SG(rfc1867_uploaded_files), temp_filename, strlen(temp_filename) + 1, &temp_filename, sizeof(char *), NULL);
|
||||
}
|
||||
|
||||
zend_hash_add(SG(rfc1867_uploaded_files), temp_filename, strlen(temp_filename) + 1, &temp_filename, sizeof(char *), NULL);
|
||||
|
||||
|
||||
/* Initialize variables */
|
||||
add_protected_variable(param TSRMLS_CC);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user