aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-01-30 17:06:26 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-01-30 17:06:26 +0000
commitf8124b2117bf3abce4671cd2aa529b65b2103193 (patch)
treeb4a07ae4295a48e22a4d5d8771e47c94fa656bbc /phpBB/includes/functions_posting.php
parent35236eb0458d6be0bb04632977eaf4f322fa9653 (diff)
downloadforums-f8124b2117bf3abce4671cd2aa529b65b2103193.tar
forums-f8124b2117bf3abce4671cd2aa529b65b2103193.tar.gz
forums-f8124b2117bf3abce4671cd2aa529b65b2103193.tar.bz2
forums-f8124b2117bf3abce4671cd2aa529b65b2103193.tar.xz
forums-f8124b2117bf3abce4671cd2aa529b65b2103193.zip
Allow forum notifications if topic notifications are disabled but forum notifications enabled - #14765
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8353 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 2374029ae6..29dca090b7 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -1111,7 +1111,7 @@ function user_notification($mode, $subject, $topic_title, $forum_name, $forum_id
trigger_error('WRONG_NOTIFICATION_MODE');
}
- if (!$config['allow_topic_notify'])
+ if (($topic_notification && !$config['allow_topic_notify']) || ($forum_notification && !$config['allow_forum_notify']))
{
return;
}