change behaviour of HTTP/Request get
This commit is contained in:
parent
15c50ab315
commit
0ee7df4883
|
@ -38,9 +38,9 @@ class Request extends SymfonyRequest
|
|||
*/
|
||||
public function has($key)
|
||||
{
|
||||
$value = $this->input($key, null);
|
||||
$value = $this->input($key);
|
||||
|
||||
return !($value === null);
|
||||
return !is_null($value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue