1
0
mirror of https://github.com/go-gitea/gitea synced 2024-12-24 03:35:55 +01:00

Allow modification of a release if Content is empty (fix #2516)

This commit is contained in:
Florian Kaiser 2016-01-30 13:39:02 +00:00
parent 112a7cab31
commit abc5abce30

@ -239,7 +239,7 @@ func (f *NewReleaseForm) Validate(ctx *macaron.Context, errs binding.Errors) bin
type EditReleaseForm struct {
Title string `form:"title" binding:"Required"`
Content string `form:"content" binding:"Required"`
Content string `form:"content"`
Draft string `form:"draft"`
Prerelease bool `form:"prerelease"`
}