aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gogs.go2
-rw-r--r--models/repo_collaboration.go2
-rw-r--r--templates/.VERSION2
3 files changed, 3 insertions, 3 deletions
diff --git a/gogs.go b/gogs.go
index 23a96910..2252f6e1 100644
--- a/gogs.go
+++ b/gogs.go
@@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/pkg/setting"
)
-const APP_VER = "0.11.11.0521"
+const APP_VER = "0.11.12.0529"
func init() {
setting.AppVer = APP_VER
diff --git a/models/repo_collaboration.go b/models/repo_collaboration.go
index c3135013..0b733272 100644
--- a/models/repo_collaboration.go
+++ b/models/repo_collaboration.go
@@ -174,7 +174,7 @@ func (repo *Repository) ChangeCollaborationAccessMode(userID int64, mode AccessM
return fmt.Errorf("update collaboration: %v", err)
}
- access := Access{
+ access := &Access{
UserID: userID,
RepoID: repo.ID,
}
diff --git a/templates/.VERSION b/templates/.VERSION
index 90070c3b..0d9bfcbc 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.11.11.0521 \ No newline at end of file
+0.11.12.0529 \ No newline at end of file