From 8e9814c3469dff1ae595b6f12b60dbb32b15d2b7 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 20 Feb 2023 09:57:16 +0800 Subject: [PATCH] Fix broken pull request files (#22962) Fix #22961 --- templates/repo/diff/comments.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/diff/comments.tmpl b/templates/repo/diff/comments.tmpl index a6f191728c7bb..985ad06559c9e 100644 --- a/templates/repo/diff/comments.tmpl +++ b/templates/repo/diff/comments.tmpl @@ -5,7 +5,7 @@ {{if .OriginalAuthor}} {{else}} - {{template "shared/user/avatarlink" Dict "Context" $.Context "user" .Poster}} + {{template "shared/user/avatarlink" Dict "Context" $.root.Context "user" .Poster}} {{end}}