Browse Source

Mirror template bug fix

tags/v1.2.0-rc1
Unknwon 11 years ago
parent
commit
977779cdcf
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      routers/repo/commit.go

+ 2
- 1
routers/repo/commit.go View File

@@ -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


Loading…
Cancel
Save