diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-01-14 10:07:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-14 10:07:04 +0800 |
commit | 87ad4961f62c24cf75377f3055e9769e269c80d9 (patch) | |
tree | 356ab27758e936aadc4594d73a0e20f4aebb37d1 /models/repo.go | |
parent | 64b167138f380134d3c791eb13e1318b50584001 (diff) | |
download | gitea-87ad4961f62c24cf75377f3055e9769e269c80d9.tar.gz gitea-87ad4961f62c24cf75377f3055e9769e269c80d9.zip |
bug fixed for update repository (#664)
Diffstat (limited to 'models/repo.go')
-rw-r--r-- | models/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go index 5868b8b705..385e9e42d6 100644 --- a/models/repo.go +++ b/models/repo.go @@ -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) } |