0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-26 07:12:48 +01:00

Merge branch 'dev' of github.com:gogits/gogs into dev

This commit is contained in:
Unknwon 2015-02-21 22:13:50 -05:00
commit 3fcc39c26b

View file

@ -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
}