diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-05-20 16:23:25 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-05-20 16:23:25 +0000 |
commit | e4ac133954c00c3845ce369518be424d82ecf429 (patch) | |
tree | 659e55c3205f07faa665e6d106ec68f019fd382c /phpBB/includes/functions_posting.php | |
parent | 91282dde1b4363c0f2cfd37e3dd62292af449af1 (diff) | |
download | forums-e4ac133954c00c3845ce369518be424d82ecf429.tar forums-e4ac133954c00c3845ce369518be424d82ecf429.tar.gz forums-e4ac133954c00c3845ce369518be424d82ecf429.tar.bz2 forums-e4ac133954c00c3845ce369518be424d82ecf429.tar.xz forums-e4ac133954c00c3845ce369518be424d82ecf429.zip |
#1871
git-svn-id: file:///svn/phpbb/trunk@5949 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 5782463f60..cc4afd0ba4 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -896,6 +896,11 @@ function user_notification($mode, $subject, $topic_title, $forum_name, $forum_id trigger_error('WRONG_NOTIFICATION_MODE'); } + if (!$config['allow_topic_notify']) + { + return; + } + $topic_title = ($topic_notification) ? $topic_title : $subject; $topic_title = censor_text($topic_title); |