From abc5abce302885622107c2ffa93d3863311569f9 Mon Sep 17 00:00:00 2001 From: Florian Kaiser Date: Sat, 30 Jan 2016 13:39:02 +0000 Subject: [PATCH] Allow modification of a release if Content is empty (fix #2516) --- modules/auth/repo_form.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 804c8ebae72..bd68feafcf4 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -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"` }