From: Peter Smit Date: Wed, 4 Feb 2015 14:08:55 +0000 (+0200) Subject: Fix dashboard issue after collaboration migration X-Git-Tag: v0.9.99~1438^2~19^2^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fd1df86c44bfbd13b4df0a66840113b0d18695bc;p=gitea.git Fix dashboard issue after collaboration migration --- diff --git a/models/access.go b/models/access.go index 65f1d00323..64bb921409 100644 --- a/models/access.go +++ b/models/access.go @@ -93,6 +93,10 @@ func (u *User) GetAccessibleRepositories() (map[*Repository]AccessType, error) { if err != nil { return nil, err } + err = repo.GetOwner() + if err != nil { + return nil, err + } repos[repo] = access.Mode }