From 9247a09bdca67f5b764eaf3be27f401dcb44e322 Mon Sep 17 00:00:00 2001 From: Ilpo Juvander Date: Tue, 14 Jan 2020 18:27:36 +0200 Subject: [PATCH] Fix for issue #36 --- Repository.ascx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Repository.ascx.cs b/Repository.ascx.cs index ea51711..d7fa337 100644 --- a/Repository.ascx.cs +++ b/Repository.ascx.cs @@ -1062,7 +1062,7 @@ private void GenerateTemplateOutput(string[] pTemplate, object dataItem, PlaceHo } break; case "AUTHOREMAIL": - if (objRepository.ShowEMail == -1) { + if (objRepository.ShowEMail == 1) { if (bRaw) { objPlaceHolder.Controls.Add(new LiteralControl(objSecurity.InputFilter(objRepository.AuthorEMail.ToString(), PortalSecurity.FilterFlag.NoScripting))); } else {