diff options
author | msquare <msquare@notrademark.de> | 2017-11-19 14:47:32 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2017-11-19 14:47:32 +0100 |
commit | f8807c4efbbddd02c69d0af63a1bf348b051d078 (patch) | |
tree | 66cdab0e2350dbb86cb21c2028d94377a97a0fa0 /src | |
parent | 86e41e29491bcd7767dcac5df2158b4ead8b1aff (diff) |
fix behaviour of HTTP/Request get
Diffstat (limited to 'src')
-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 e7850c8b..585fb5e9 100644 --- a/src/Http/Request.php +++ b/src/Http/Request.php @@ -38,9 +38,9 @@ class Request extends SymfonyRequest */ public function has($key) { - $value = $this->input($key); + $value = $this->input($key, null); - return !empty($value); + return !($value === null); } /** |