diff options
author | Michael Klier <chi@chimeric.de> | 2008-05-05 16:23:56 +0200 |
---|---|---|
committer | Michael Klier <chi@chimeric.de> | 2008-05-05 16:23:56 +0200 |
commit | 8c286148aa343a95ff3585b4e7bcde9f60e7b6b2 (patch) | |
tree | b42f721610384c5ef27b84ae58fb38c88ceafc1a | |
parent | dd6510bdf83849e278d3ad7a01b9fa180398c916 (diff) | |
download | rpg-8c286148aa343a95ff3585b4e7bcde9f60e7b6b2.tar.gz rpg-8c286148aa343a95ff3585b4e7bcde9f60e7b6b2.tar.bz2 |
actionOK() should honour
darcs-hash:20080505142356-23886-9d3b1f1512a94acc241a01af0d3a9f9053783f3c.gz
-rw-r--r-- | inc/confutils.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/confutils.php b/inc/confutils.php index bf1791e76..c18b92a02 100644 --- a/inc/confutils.php +++ b/inc/confutils.php @@ -180,6 +180,10 @@ function actionOK($action){ $disabled = array_map('trim',$disabled); if(isset($conf['openregister']) && !$conf['openregister']) $disabled[] = 'register'; if(isset($conf['resendpasswd']) && !$conf['resendpasswd']) $disabled[] = 'resendpwd'; + if(isset($conf['subscribers']) && !$conf['subscribers']) { + $disabled[] = 'subscribe'; + $disabled[] = 'subscribens'; + } $disabled = array_unique($disabled); } |