From 35be8741c4523206aa3bff4aad1dda23847b381e Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 10 Jul 2015 16:51:25 +0800 Subject: [PATCH] fix #1112 --- gogs.go | 2 +- routers/repo/issue.go | 1 + templates/.VERSION | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gogs.go b/gogs.go index b33e264bc..ecd93275d 100644 --- a/gogs.go +++ b/gogs.go @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.6.1.0709 Beta" +const APP_VER = "0.6.1.0710 Beta" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 294d3d284..6e88f19ea 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -853,6 +853,7 @@ func Comment(ctx *middleware.Context) { RepoID: ctx.Repo.Repository.Id, RepoUserName: ctx.Repo.Owner.LowerName, RepoName: ctx.Repo.Repository.LowerName, + IsPrivate: ctx.Repo.Repository.IsPrivate, } if err = models.NotifyWatchers(act); err != nil { send(500, nil, err) diff --git a/templates/.VERSION b/templates/.VERSION index 0c504fb44..024953550 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.6.1.0709 Beta \ No newline at end of file +0.6.1.0710 Beta \ No newline at end of file