소스 검색

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

Unknwon 10 년 전
부모
커밋
3fcc39c26b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 }