diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-08-29 14:57:17 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-08-29 14:57:17 +0000 |
commit | 284cba438b4bca43352174ce97f5a455c229146c (patch) | |
tree | 4f3e250b42bfaaf418ed62d1e72c4a989baf4ce6 /phpBB/posting.php | |
parent | b4c095cb3e3df573cba09a524b16377258a740d0 (diff) | |
download | forums-284cba438b4bca43352174ce97f5a455c229146c.tar forums-284cba438b4bca43352174ce97f5a455c229146c.tar.gz forums-284cba438b4bca43352174ce97f5a455c229146c.tar.bz2 forums-284cba438b4bca43352174ce97f5a455c229146c.tar.xz forums-284cba438b4bca43352174ce97f5a455c229146c.zip |
hopefully fixing bug #3966
git-svn-id: file:///svn/phpbb/trunk@6326 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index fc3ce33c11..c763f0c333 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -420,6 +420,12 @@ if ($mode != 'post' && $config['allow_topic_notify'] && $user->data['is_register $db->sql_freeresult($result); } +// If the user is replying or posting and not already watching this topic but set to always being notified we need to overwrite this setting +if ($mode != 'edit' && $config['allow_topic_notify'] && $user->data['is_registered'] && !$post_data['notify_set']) +{ + $post_data['notify_set'] = $user->data['user_notify']; +} + // Do we want to edit our post ? if ($mode == 'edit' && $post_data['bbcode_uid']) { |