0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 09:44:16 +01:00

bug fixed for update repository (#664)

This commit is contained in:
Lunny Xiao 2017-01-14 10:07:04 +08:00 committed by GitHub
parent 64b167138f
commit 87ad4961f6

View file

@ -1371,7 +1371,7 @@ func UpdateRepository(repo *Repository, visibilityChanged bool) (err error) {
return err
}
if err = updateRepository(x, repo, visibilityChanged); err != nil {
if err = updateRepository(sess, repo, visibilityChanged); err != nil {
return fmt.Errorf("updateRepository: %v", err)
}