diff options
author | Unknwon <u@gogs.io> | 2015-09-18 06:18:31 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-18 06:18:31 -0400 |
commit | d9c5b3bceef42f269e16c6d2f2b4a4ad29f7882d (patch) | |
tree | 7d0caaaa7d69d879b898c0086ba319f0cf886ef9 /routers/repo | |
parent | 86d3c5cbb3c8a500c08aa393a1b00aff754de31f (diff) | |
download | gitea-d9c5b3bceef42f269e16c6d2f2b4a4ad29f7882d.tar.gz gitea-d9c5b3bceef42f269e16c6d2f2b4a4ad29f7882d.zip |
#1659 fix change label title resets color
Diffstat (limited to 'routers/repo')
-rw-r--r-- | routers/repo/issue.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index cc344bd080..6912a2faf2 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -904,6 +904,7 @@ func UpdateLabel(ctx *middleware.Context, form auth.CreateLabelForm) { return } + fmt.Println(form.Title, form.Color) l.Name = form.Title l.Color = form.Color if err := models.UpdateLabel(l); err != nil { |