0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-29 20:18:13 +01:00

Merge pull request #975 from nicolai86/bugfix/label-num_issues

Bugfix for wrong label count
This commit is contained in:
无闻 2015-02-21 03:42:24 -05:00
commit bbee7b7196

View file

@ -561,7 +561,7 @@ func GetLabels(repoId int64) ([]*Label, error) {
// UpdateLabel updates label information. // UpdateLabel updates label information.
func UpdateLabel(l *Label) error { func UpdateLabel(l *Label) error {
_, err := x.Id(l.Id).Update(l) _, err := x.Id(l.Id).AllCols().Update(l)
return err return err
} }