From a22786e2896fd94be614b19b2dbb6cc65ff11ec4 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 a6f191728c..985ad06559 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}}