summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Http/Request.php4
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);
}
/**