diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2018-09-04 14:30:19 +0200 |
---|---|---|
committer | Jakub Senko <jakubsenko@gmail.com> | 2018-09-04 14:30:19 +0200 |
commit | 4a30818e1240d2389bc924045769bb5dab30fe34 (patch) | |
tree | f6de3e46cf2dd0e5d7ebc05f1040168fc2f7922b /phpBB/includes/functions_posting.php | |
parent | bd90a5358969e2bb82df34727ed8f6575781e5d2 (diff) | |
download | forums-4a30818e1240d2389bc924045769bb5dab30fe34.tar forums-4a30818e1240d2389bc924045769bb5dab30fe34.tar.gz forums-4a30818e1240d2389bc924045769bb5dab30fe34.tar.bz2 forums-4a30818e1240d2389bc924045769bb5dab30fe34.tar.xz forums-4a30818e1240d2389bc924045769bb5dab30fe34.zip |
[ticket/15420] Only update quote notification with original author
PHPBB3-15420
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', |