Fix bug in input class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
parent
98fa907805
commit
1c26ce8ce5
|
@ -55,7 +55,7 @@ public static function has($key)
|
|||
*/
|
||||
public static function get($key = null, $default = null)
|
||||
{
|
||||
$value = Request::foundation()->request->get($key);
|
||||
$value = array_get(Request::foundation()->request->all(), $key);
|
||||
|
||||
if (is_null($value))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue