Explorar o código

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

Unknwon %!s(int64=10) %!d(string=hai) anos
pai
achega
3fcc39c26b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      models/issue.go

+ 1 - 1
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
 }