fix bug in input::except method when passing a string.
This commit is contained in:
@@ -96,7 +96,7 @@ class Input {
|
||||
*/
|
||||
public static function except($keys)
|
||||
{
|
||||
return array_diff_key(static::get(), array_flip($keys));
|
||||
return array_diff_key(static::get(), array_flip((array) $keys));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user