Make Posts respect the email privacy setting. Fixed in 7.6 branch only.
This commit is contained in:
parent
ab443b2572
commit
f9d9de3cc6
2 changed files with 4 additions and 1 deletions
|
|
@ -16,6 +16,7 @@
|
|||
- fixed: Improve Thingy navigation.
|
||||
- fixed #9126: UserList is completely broken in 7.6.4 (Yung Han Khoe)
|
||||
- fixed #9177: Wide-characters break product varients
|
||||
- fixed #9191: Message Board reveals user email, ignores profile privacy setting (#9180)
|
||||
|
||||
7.6.4
|
||||
- Survey now will show progress and time limit.
|
||||
|
|
|
|||
|
|
@ -764,7 +764,9 @@ sub notifySubscribers {
|
|||
my $returnAddress = $setting->get("mailReturnPath");
|
||||
my $companyAddress = $setting->get("companyEmail");
|
||||
my $listAddress = $cs->get("mailAddress");
|
||||
my $posterAddress = $user->profileField("email");
|
||||
my $posterAddress = $user->getProfileFieldPrivacySetting('email') eq "all"
|
||||
? $user->profileField('email')
|
||||
: '';
|
||||
my $from = $posterAddress || $listAddress || $companyAddress;
|
||||
my $replyTo = $listAddress || $returnAddress || $companyAddress;
|
||||
my $sender = $listAddress || $companyAddress || $posterAddress;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue