1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 10:18:38 +00:00

Merge branch 'master' of github.com:gogits/gogs

This commit is contained in:
Lunny Xiao
2014-03-24 22:30:50 +08:00
44 changed files with 1349 additions and 188 deletions

View File

@@ -389,7 +389,7 @@ func UpdateRepository(repo *Repository) error {
repo.Website = repo.Website[:255]
}
_, err := orm.Id(repo.Id).UseBool().Cols("description", "website").Update(repo)
_, err := orm.Id(repo.Id).AllCols().Update(repo)
return err
}