Fix bug in input class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
@@ -55,7 +55,7 @@ class Input {
|
|||||||
*/
|
*/
|
||||||
public static function get($key = null, $default = null)
|
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))
|
if (is_null($value))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user