Merge branch 'dev' of github.com:gogits/gogs into dev
This commit is contained in:
commit
3fcc39c26b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue