summaryrefslogtreecommitdiff
path: root/actions/subscribe.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/subscribe.php')
-rw-r--r--actions/subscribe.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/subscribe.php b/actions/subscribe.php
index 6499705ec..43506a593 100644
--- a/actions/subscribe.php
+++ b/actions/subscribe.php
@@ -73,7 +73,7 @@ class SubscribeAction extends Action {
}
function notify_email($listenee, $listener) {
- if ($listenee->email) {
+ if ($listenee->email && $listenee->emailnotifysub) {
$profile = $listenee->getProfile();
$other = $listener->getProfile();
$name = $profile->getBestName();