Skip to content

Commit

Permalink
Merge pull request #38 from juvander/FixFor_36
Browse files Browse the repository at this point in the history
Fixes an issue where the "Show my email" logic was reversed
  • Loading branch information
valadas authored Jan 16, 2020
2 parents 0008803 + 9247a09 commit 9c23d71
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 @@ -1102,7 +1102,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 9c23d71

Please sign in to comment.