diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | gogs.go | 2 | ||||
-rw-r--r-- | routers/repo/issue.go | 2 | ||||
-rw-r--r-- | templates/.VERSION | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -3,7 +3,7 @@ Gogs - Go Git Service [ -##### Current tip version: 0.9.109 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions ~~or submit a task on [alpha stage automated binary building system](https://build.gogs.io/)~~) +##### Current tip version: 0.9.110 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions ~~or submit a task on [alpha stage automated binary building system](https://build.gogs.io/)~~) | Web | UI | Preview | |:-------------:|:-------:|:-------:| @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.9.109.1222" +const APP_VER = "0.9.110.1222" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/routers/repo/issue.go b/routers/repo/issue.go index cb508052..aa95c736 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -721,7 +721,7 @@ func UpdateIssueLabel(ctx *context.Context) { } } else { isAttach := ctx.Query("action") == "attach" - label, err := models.GetLabelByID(ctx.QueryInt64("id")) + label, err := models.GetLabelInRepoByID(ctx.Repo.Repository.ID, ctx.QueryInt64("id")) if err != nil { if models.IsErrLabelNotExist(err) { ctx.Error(404, "GetLabelByID") diff --git a/templates/.VERSION b/templates/.VERSION index e3fbc1e9..89e58b46 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.9.109.1222
\ No newline at end of file +0.9.110.1222
\ No newline at end of file |