Skip to content

Commit 9c23d71

Browse files
authored
Merge pull request #38 from juvander/FixFor_36
Fixes an issue where the "Show my email" logic was reversed
2 parents 0008803 + 9247a09 commit 9c23d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Repository.ascx.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ private void GenerateTemplateOutput(string[] pTemplate, object dataItem, PlaceHo
11021102
}
11031103
break;
11041104
case "AUTHOREMAIL":
1105-
if (objRepository.ShowEMail == -1) {
1105+
if (objRepository.ShowEMail == 1) {
11061106
if (bRaw) {
11071107
objPlaceHolder.Controls.Add(new LiteralControl(objSecurity.InputFilter(objRepository.AuthorEMail.ToString(), PortalSecurity.FilterFlag.NoScripting)));
11081108
} else {

0 commit comments

Comments
 (0)