Check arrays on Input::had. Closes #1988.
This commit is contained in:
parent
6891fb7b21
commit
727b69494b
|
@ -160,6 +160,8 @@ public static function except($keys)
|
|||
*/
|
||||
public static function had($key)
|
||||
{
|
||||
if (is_array(static::old($key))) return true;
|
||||
|
||||
return trim((string) static::old($key)) !== '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue