From 00ea41b44034a4bf4b58fdd9cb4bc435976b0d24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 30 Oct 2020 12:28:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Http/HttpParams.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Http/HttpParams.php b/HttpServer/Http/HttpParams.php index 0eb58ee6..29093db6 100644 --- a/HttpServer/Http/HttpParams.php +++ b/HttpServer/Http/HttpParams.php @@ -42,7 +42,7 @@ class HttpParams $this->gets = $get ?? []; $this->files = $files ?? []; if (!is_array($body)) { - $this->body = Help::toArray($this->body); + $this->body = Help::toArray($body); } else { $this->body = $body; }