Browse Source

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

for-closed-social
Florian Kaiser 8 years ago
parent
commit
abc5abce30
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/auth/repo_form.go

+ 1
- 1
modules/auth/repo_form.go View File

@ -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"`
}

Loading…
Cancel
Save