diff --git a/gogs.go b/gogs.go index 23a96910a..2252f6e18 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 c3135013b..0b7332724 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 90070c3bb..0d9bfcbc0 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