From 1d57c309ef320ceaf3b9c099c34b30e729751a4f Mon Sep 17 00:00:00 2001 From: pvgoran Date: Tue, 19 May 2020 05:05:27 +0700 Subject: [PATCH] Remove unnecessary parentheses in wiki/revision template (#11481) This fixes the error on "Page Revision" page, similar to #10552. --- templates/repo/wiki/revision.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/wiki/revision.tmpl b/templates/repo/wiki/revision.tmpl index 13d3a6227f3..5783884a2a3 100644 --- a/templates/repo/wiki/revision.tmpl +++ b/templates/repo/wiki/revision.tmpl @@ -21,7 +21,7 @@ {{else if and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)}} {{end}} - {{if or ((not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)))}} + {{if or (not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH))}}