mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 19:40:23 +02:00
hopefully fixing bug #3966
git-svn-id: file:///svn/phpbb/trunk@6326 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -420,6 +420,12 @@ if ($mode != 'post' && $config['allow_topic_notify'] && $user->data['is_register
|
|||||||
$db->sql_freeresult($result);
|
$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 ?
|
// Do we want to edit our post ?
|
||||||
if ($mode == 'edit' && $post_data['bbcode_uid'])
|
if ($mode == 'edit' && $post_data['bbcode_uid'])
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user