diff --git a/Protocols/Http/Request.php b/Protocols/Http/Request.php index 98bfbea01..996c252d5 100644 --- a/Protocols/Http/Request.php +++ b/Protocols/Http/Request.php @@ -574,7 +574,7 @@ protected function parseUploadFiles($http_post_boundary) \array_walk_recursive($result, function(&$value) use ($file) { $value = $file; }); - $this->_data['files'] = \array_walk_recursive($this->_data['files'], $result); + $this->_data['files'] = \array_merge_recursive($this->_data['files'], $result); } if ($post_str) { parse_str($post_str, $this->_data['post']);