fix syntax error in upload_of... add types to file_wrong_type lang message.

This commit is contained in:
Taylor Otwell
2011-06-27 21:08:49 -05:00
parent 2c4e807525
commit fef1809982
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ class Upload_Of extends Nullable_Rule {
*/
public function is_image()
{
$this->types = array_merge($this->types, array('jpg', 'gif', 'png', 'bmp'))
$this->types = array_merge($this->types, array('jpg', 'gif', 'png', 'bmp'));
return $this;
}