From f19feb0f473f33cae336cf7771b801e13641885e Mon Sep 17 00:00:00 2001 From: Nanguan Lin <70063547+lng2020@users.noreply.github.com> Date: Wed, 11 Oct 2023 11:11:04 +0800 Subject: [PATCH] Revert "Fix pr template (#27436)" (#27567) Reverts backport go-gitea/gitea#27440 Fix #27564 --- templates/repo/issue/view_content/comments.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index d3fe424b84..714701939f 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -496,7 +496,7 @@ {{end}} - {{$diff := (CommentMustAsDiff ctx (index $comms 0))}} + {{$diff := (CommentMustAsDiff (index $comms 0))}} {{if $diff}} {{$file := (index $diff.Files 0)}}