From e4ac133954c00c3845ce369518be424d82ecf429 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 20 May 2006 16:23:25 +0000 Subject: #1871 git-svn-id: file:///svn/phpbb/trunk@5949 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_posting.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/includes/functions_posting.php') 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); -- cgit v1.2.1