Commit 727b6949 by Taylor Otwell

Check arrays on Input::had. Closes #1988.

parent 6891fb7b
......@@ -160,6 +160,8 @@ class Input {
*/
public static function had($key)
{
if (is_array(static::old($key))) return true;
return trim((string) static::old($key)) !== '';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment