mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 10:17:37 +02:00
Mirror template bug fix
This commit is contained in:
1 parent
71e4689d11
commit
977779cdcf
1 file changed
+2
-1
@@ -96,9 +96,10 @@ func SearchCommits(ctx *middleware.Context) {
|
|||||||
|
|
||||||
commits, err := ctx.Repo.Commit.SearchCommits(keyword)
|
commits, err := ctx.Repo.Commit.SearchCommits(keyword)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.Handle(500, "repo.SearchCommits(SearchCommits)", err)
|
ctx.Handle(500, "SearchCommits", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
commits = models.ValidCommitsWithEmails(commits)
|
||||||
|
|
||||||
ctx.Data["Keyword"] = keyword
|
ctx.Data["Keyword"] = keyword
|
||||||
ctx.Data["Username"] = userName
|
ctx.Data["Username"] = userName
|
||||||
|
|||||||
Reference in new issue
Block a user