diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-08-12 17:30:01 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-08-12 17:30:01 +0200 |
commit | 84c1127cc070777c8cbcf488f5422bc4b71470a8 (patch) | |
tree | 74a3b8f4613110d97e2f7ce0797203c53a0ad1e6 /inc/common.php | |
parent | 835242b0f53a72a555ad30543a1677108ce210af (diff) | |
download | rpg-84c1127cc070777c8cbcf488f5422bc4b71470a8.tar.gz rpg-84c1127cc070777c8cbcf488f5422bc4b71470a8.tar.bz2 |
correctly check if subscriptions are enabled
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php index 3cfeb3092..b4a57b154 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1117,7 +1117,7 @@ function notify($id, $who, $rev = '', $summary = '', $minor = false, $replace = $to = $conf['notify']; $bcc = ''; } elseif($who == 'subscribers') { - if(!$conf['subscribers']) return false; //subscribers enabled? + if(!actionOK('subscribe')) return false; //subscribers enabled? if($conf['useacl'] && $_SERVER['REMOTE_USER'] && $minor) return false; //skip minors $data = array('id' => $id, 'addresslist' => '', 'self' => false); trigger_event( |