summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-02-21 22:13:50 -0500
committerUnknwon <u@gogs.io>2015-02-21 22:13:50 -0500
commit3fcc39c26bc005ddb7c53c6cc816709b2a3969bc (patch)
tree99161caaf32fad46c775997c03d2e45b4a97cae5 /models
parent1654e9ecab3923b7fe5d528fc86c1a549546bd29 (diff)
parentbbee7b7196d1986519fbd9be07b35d9baaa9ef4e (diff)
downloadgitea-3fcc39c26bc005ddb7c53c6cc816709b2a3969bc.tar.gz
gitea-3fcc39c26bc005ddb7c53c6cc816709b2a3969bc.zip
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'models')
-rw-r--r--models/issue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue.go b/models/issue.go
index d9a24063c2..226ca3ca57 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -561,7 +561,7 @@ func GetLabels(repoId int64) ([]*Label, error) {
// UpdateLabel updates label information.
func UpdateLabel(l *Label) error {
- _, err := x.Id(l.Id).Update(l)
+ _, err := x.Id(l.Id).AllCols().Update(l)
return err
}