Commit 72658bd0 by Taylor Otwell

fixed bug in validator->image rule.

parent 4d647c33
...@@ -334,7 +334,7 @@ class Validator { ...@@ -334,7 +334,7 @@ class Validator {
*/ */
protected function validate_image($attribute) protected function validate_image($attribute)
{ {
return static::validate_mime($attribute, array('jpg', 'png', 'gif', 'bmp')); return static::validate_mimes($attribute, array('jpg', 'png', 'gif', 'bmp'));
} }
/** /**
......
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