Skip to content

Commit

Permalink
Fix for issue #36
Browse files Browse the repository at this point in the history
  • Loading branch information
juvander committed Jan 14, 2020
1 parent 254be02 commit 9247a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Repository.ascx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9247a09

Please sign in to comment.