소스 검색

Merge pull request #734 from EzzalddeenAli/patch-1

Update Request.php
walkor 3 년 전
부모
커밋
f8b1f9828f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Protocols/Http/Request.php

+ 1 - 1
src/Protocols/Http/Request.php

@@ -592,7 +592,7 @@ class Request
             \array_walk_recursive($result, function (&$value) use ($file) {
                 $value = $file;
             });
-            $this->_data['files'] = \array_merge($this->_data['files'], $result);
+            $this->_data['files'] = \array_merge_recursive($this->_data['files'], $result);
         }
         if ($post_str) {
             parse_str($post_str, $this->_data['post']);