浏览代码

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
 }