diff options
-rw-r--r-- | src/Http/Request.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Http/Request.php b/src/Http/Request.php index 3ff027d5..fcfc2600 100644 --- a/src/Http/Request.php +++ b/src/Http/Request.php @@ -82,9 +82,9 @@ class Request */ public function has($key) { - $value = $this->input($key); + $data = $this->request + $this->query; - return !(empty($value) && strlen($value) == 0); + return isset($data[$key]); } /** |