From 1fb53067f478414302096d5d976a3db85df9e2eb Mon Sep 17 00:00:00 2001
From: Unknwon <u@gogs.io>
Date: Thu, 13 Aug 2015 23:21:43 +0800
Subject: finish close/reopen issue

---
 modules/auth/repo_form.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'modules/auth/repo_form.go')

diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go
index 3882cb67..cbabbb46 100644
--- a/modules/auth/repo_form.go
+++ b/modules/auth/repo_form.go
@@ -112,7 +112,7 @@ func (f *CreateIssueForm) Validate(ctx *macaron.Context, errs binding.Errors) bi
 
 type CreateCommentForm struct {
 	Content     string
-	NewStatus   string `binding:"OmitEmpty;In(reopen,close)"`
+	Status      string `binding:"OmitEmpty;In(reopen,close)"`
 	Attachments []string
 }
 
-- 
cgit v1.2.3