Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
astaxie committed Jun 16, 2015
1 parent 8f7246e commit f7f390d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ func (c *Controller) GetFile(key string) (multipart.File, *multipart.FileHeader,
// }
// }
func (c *Controller) GetFiles(key string) ([]*multipart.FileHeader, error) {
files, ok := c.Ctx.Request.MultipartForm.File["key"]
files, ok := c.Ctx.Request.MultipartForm.File[key]
if ok {
return files, nil
}
Expand Down

0 comments on commit f7f390d

Please sign in to comment.