diff options
author | Marc Alexander <admin@m-a-styles.de> | 2018-10-08 21:48:56 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2018-10-08 21:48:56 +0200 |
commit | bcd4b01071c26108701297302f15f1d9f58abce2 (patch) | |
tree | 140ee60dd3754ff4c04e0f08c837ee29ca3ede9a /phpBB/includes/functions_posting.php | |
parent | 2c74cb71b51a36dd2e65e3d16ce8db49fba3732c (diff) | |
parent | 4a30818e1240d2389bc924045769bb5dab30fe34 (diff) | |
download | forums-bcd4b01071c26108701297302f15f1d9f58abce2.tar forums-bcd4b01071c26108701297302f15f1d9f58abce2.tar.gz forums-bcd4b01071c26108701297302f15f1d9f58abce2.tar.bz2 forums-bcd4b01071c26108701297302f15f1d9f58abce2.tar.xz forums-bcd4b01071c26108701297302f15f1d9f58abce2.zip |
Merge pull request #5338 from senky/ticket/15420
[ticket/15420] Only update quote notification with original author
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 78c66ac6b8..73a2e0be0c 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -2309,8 +2309,14 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll_ary, &$data case 'edit_first_post': case 'edit': case 'edit_last_post': + if ($user->data['user_id'] == $poster_id) + { + $phpbb_notifications->update_notifications(array( + 'notification.type.quote', + ), $notification_data); + } + $phpbb_notifications->update_notifications(array( - 'notification.type.quote', 'notification.type.bookmark', 'notification.type.topic', 'notification.type.post', |