Skip to content

Commit

Permalink
fixed new comment(s) notify not working for page subscribers
Browse files Browse the repository at this point in the history
  • Loading branch information
lupo49 committed Dec 4, 2010
1 parent 57cfa89 commit bf7ed9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helper.php
Expand Up @@ -316,7 +316,9 @@ function _notify($task) {
global $ID;

if ((!$conf['subscribers']) && (!$conf['notify'])) return; //subscribers enabled?
$bcc = subscription_addresslist($ID);
$data = array('id' => $ID, 'addresslist' => '', 'self' => false);
trigger_event('COMMON_NOTIFY_ADDRESSLIST', $data, 'subscription_addresslist');
$bcc = $data['addresslist'];
if ((empty($bcc)) && (!$conf['notify'])) return;
$to = $conf['notify'];
$text = io_readFile($this->localFN('subscribermail'));
Expand Down

0 comments on commit bf7ed9a

Please sign in to comment.