From 88008b681d07f7931e4834b1b5c18dfe24289008 Mon Sep 17 00:00:00 2001 From: pvgoran Date: Sat, 6 Jun 2020 13:20:32 +0700 Subject: [PATCH] Remove unnecessary parentheses in wiki/view template (#11781) It's a backport of #10583 to version 1.11. Co-authored-by: techknowlogick --- templates/repo/wiki/view.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl index f775ac9429..01b0c2fd3b 100644 --- a/templates/repo/wiki/view.tmpl +++ b/templates/repo/wiki/view.tmpl @@ -45,7 +45,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))}}