diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-25 20:55:14 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-25 20:55:14 -0400 |
commit | 977779cdcf893b2a6e148c1d4772efccef2dbe03 (patch) | |
tree | 76f097bca7367dbb445533303767ad59961f41e7 /routers | |
parent | 71e4689d118b3628a6ef7b93117c54265c4d83a5 (diff) | |
download | gitea-977779cdcf893b2a6e148c1d4772efccef2dbe03.tar.gz gitea-977779cdcf893b2a6e148c1d4772efccef2dbe03.zip |
Mirror template bug fix
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/commit.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go index c23fdfe7c6..512df2534f 100644 --- a/routers/repo/commit.go +++ b/routers/repo/commit.go @@ -96,9 +96,10 @@ func SearchCommits(ctx *middleware.Context) { commits, err := ctx.Repo.Commit.SearchCommits(keyword) if err != nil { - ctx.Handle(500, "repo.SearchCommits(SearchCommits)", err) + ctx.Handle(500, "SearchCommits", err) return } + commits = models.ValidCommitsWithEmails(commits) ctx.Data["Keyword"] = keyword ctx.Data["Username"] = userName |