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; }