fixed bug in validator->image rule.

This commit is contained in:
Taylor Otwell 2011-07-16 22:16:40 -05:00
parent 4d647c33c0
commit 72658bd09a
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ protected function validate_active_url($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'));
}
/**