Check arrays on Input::had. Closes #1988.
This commit is contained in:
@@ -160,6 +160,8 @@ class Input {
|
|||||||
*/
|
*/
|
||||||
public static function had($key)
|
public static function had($key)
|
||||||
{
|
{
|
||||||
|
if (is_array(static::old($key))) return true;
|
||||||
|
|
||||||
return trim((string) static::old($key)) !== '';
|
return trim((string) static::old($key)) !== '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user